1

We want to save all our AWS accounts credentials in AWS parameter store for better security. now the question is: How can we use the credentials stored in AWS parameter store in GitLab for deployment?

2
  • It depends on where you want to deploy EC2, ECS, you use docker, or just an artifact,...? Commented Oct 11, 2022 at 10:03
  • Some teams in the company use Docker and some use ECS. Commented Oct 11, 2022 at 13:22

1 Answer 1

0

In your project, you can configure .gitlab_ci.yaml to make many things, one of them is to deploy your application, and there are many ways, one of them is to:

  • Create a docker of your project
  • Push the image to ECR
  • Create a new ECS task definition with the new version of your docker image
  • Create a new ECS service with the new version of the task definition

and to do so, you need effectively the credentials of AWS that you have configured in your GitLab repository.

After that their many ways to deploy from GitLab to AWS, it depends on your company and what tools you are using.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.