In this section, we describe the way of setting up a Cloudfront distribution for products.
Before we start, make sure you have created the product S3 bucket. If not, please refer to Creating S3 bucket.
In Cloudfront, go ahead and create a new distribution. You’ll be prompted to fill the settings, you should proceed as follows:
Now jump into the Default cache behavior section, we’ll just modify a couple of settings in here.
If you’re deploying to the production stage you should modify a couple of options in the settings section.
Description For every distribution (either labs or prod) you’ll need to specify a description in this way: Oasis resources for [YOUR_PROJECT]