From the course: Continuous Integration and Continuous Delivery with GitLab (2022)

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Environments

Environments

- [Instructor] In the last chapter, we generated a static website, but we didn't actually do anything with it. In this chapter, we'll set up multiple environments where we can deploy our site using GitLab. I'm going to use AWS and a couple of S3 buckets for this. Of course, this isn't a course on AWS, so we'll try to keep things as simple as possible. Just follow exactly what I do and you should be okay. First, we'll create a new user which you want to do using the IAM service. So just go up to the search bar and search for IAM, and then select Users. And then click on Add user. Now, we'll call our user gitlab_cicd. And check this box for access key. This will give us an API key that we can use for accessing our S3 bucket. We'll just click through the defaults here. Just click Next, and then click Create user. Now, this is the access key which is kind of like our username. And there's also a secret access key here…

Contents