From the course: Learning Static Site Building with Hugo
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Define an AWS user
From the course: Learning Static Site Building with Hugo
Define an AWS user
- [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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.