Restricting the permissions of your scripts is an important security step. In this video, Nate demonstrates how to create an Amazon IAM user that only has the permissions needed for deployment.
- [Instructor] When the deployment script runs,…it'll need permission to modify the files…in your S3 bucket, and modify your CloudFront distribution.…You can define these permissions by creating…an AWS user account.…This user account will be separate from the account…you use to log in and it'll only be used…during the deployment process.…I'll start at the AWS console…at console.aws.amazon.com, and then go to services…and search for IAM.…From here I need to go to users…and then create a new user.…
The user name doesn't matter too much,…I'll do travis_www.awesomestaticsites.com.…It is important to pick programmatic access.…Then I'll go next.…And define the permissions I need for this user account.…I'll choose to attach an existing policy directly…and then I'll create a new policy from scratch.…In the policy generator, I need to choose the services…that this account will be able to access.…First I need it to access S3.…
So I'll search for S3.…And now we need to pick the actions…that this user account will be allowed to do in S3.…
- Advantages of static sites
- Installing Hugo and Git
- Creating a new Hugo site
- Building a new website
- Adding posts, pages, and static content
- Publishing your static site
- Deploying via FTP, AWS, and Netlify
Skill Level Beginner
Amazon Web Services Essential Trainingwith Jeff Winesett5h 2m Intermediate
Amazon Web Services: Storage and Data Managementwith Brandon Rich3h 50m Intermediate
1. How Static Sites Work
2. Set Up Hugo
3. Build a Website
4. Prepare for Publishing
5. Deploy via FTP
6. Deploy to AWS
7. Deploy with Netlify
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.