1 個回答
- 最新
- 最多得票
- 最多評論
1
Storing AWS user credentials in GitLab is not recommended because it poses a security risk. Instead, you can use AWS IAM roles to grant access to your EC2 instances.
Here are some resources that can help you set up your GitLab project to run processing jobs in EC2 instances using IAM roles:
GitLab Runner documentation: https://docs.gitlab.com/runner/ AWS IAM Roles for EC2 documentation: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html Blog post on running GitLab CI/CD on AWS: https://aws.amazon.com/blogs/opensource/running-gitlab-ci-cd-on-aws/ Example GitLab project with EC2 instance and IAM role setup: https://gitlab.com/alexta/awsgitlabcicd
已回答 1 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 2 年前
Thanks @AWS_Guy . The last two links doesn’t work . Can you send me other examples ?