Uploading files

Before we start the process, you will need to have an account on AWS. Navigate to the following URL to create your free account—https://aws.amazon.com.

Once you are done with the registration process and are logged in to the AWS console, go ahead and navigate to the S3 service dashboard, as shown:

Once the S3 dashboard is loaded, you will see the list of all the your AWS buckets that you created before. If not, you will see an empty list. Click on the Create Bucket button to create a new bucket and name your bucket with your application's name and click on the Next button to accept the defaults:

Once created, you should see the new S3 bucket in the list:

Now get into your bucket, and let's upload the index.html file to the bucket by clicking on the Add files button and selecting the file. Don't forget to grant public read permission when you are submitting the files:

Once we have selected our web application files that we want to deploy in S3, we should make these files public so that S3 will be able to serve the file publicly, otherwise our users won't be able to access our web application files. To do so, select the Grant public read access to this object(s) option in the Manage public permissions drop-down list, as illustrated:

Cool! To upload the contents into the script folder, you will need to create a folder for scripts in the bucket. To do this, just click on the Create Folder button. Once you have the folder created, go ahead and upload the app-bundle.js and vendor-bundle.js files into the S3 scripts folder (don't forget to grant public permission).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset