Restricting the permissions of your scripts is an important security step. In this video, learn 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 also to modify your CloudFront distribution.…You can define these permissions…by creating an AWS user account.…This user account will be separate…from the account that you use to log in…and it will be only be used during the deployment process.…To start, open up the Services menu and then search for IAM.…Go to Users in the left and then create a new user.…I'll name this user Travis_www.awesomestaticsites,…but you can name the user whatever you want.…
Pick programmatic access…because you'll be using this user's credentials…from a script and then click Next.…Now you need to add a policy to the user…which defines what permissions they have.…Click on attach a policy directly…and then create a new policy.…The policy generator is the easiest way to go…so we can use that.…Now we need to define what permissions this user has…in various AWS services.…First, we'll define permissions for S3…so I'll scroll down and find Amazon S3 here.…
- How static sites work
- Advantages of static sites
- Tools for building static sites
- Installing Hugo and Git
- Creating a new Hugo site
- Building a website
- Setting up a deployment pipeline
- Deploying and testing a site
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. Set Up a Deployment Pipeline
- 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.