Commit d946670d authored by Marcel Amirault's avatar Marcel Amirault

Add AWS section to make doc easier to expand

parent a3b58596
...@@ -7,13 +7,18 @@ type: howto ...@@ -7,13 +7,18 @@ type: howto
# Cloud deployment # Cloud deployment
Interacting with a major cloud provider such as Amazon AWS may have become a much needed task that's Interacting with a major cloud provider may have become a much needed task that's
part of your delivery process. GitLab is making this process less painful by providing Docker images part of your delivery process. GitLab is making this process less painful by providing Docker images
that come with the needed libraries and tools pre-installed. that come with the needed libraries and tools pre-installed.
By referencing them in your CI/CD pipeline, you'll be able to interact with your chosen By referencing them in your CI/CD pipeline, you'll be able to interact with your chosen
cloud provider more easily. cloud provider more easily.
## Run AWS commands from GitLab CI/CD ## AWS
GitLab provides Docker images to simplify working with AWS, and a template to make
it easier to [deploy to AWS](#deploy-your-application-to-the-aws-elastic-container-service-ecs).
### Run AWS commands from GitLab CI/CD
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/31167) in GitLab 12.6. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/31167) in GitLab 12.6.
...@@ -54,7 +59,7 @@ Some credentials are required to be able to run `aws` commands: ...@@ -54,7 +59,7 @@ Some credentials are required to be able to run `aws` commands:
Container Registry](../../user/packages/container_registry/index.md) and is Container Registry](../../user/packages/container_registry/index.md) and is
ready to use. Alternatively, replace the image with one hosted on AWS ECR. ready to use. Alternatively, replace the image with one hosted on AWS ECR.
## Use an AWS Elastic Container Registry (ECR) image in your CI/CD ### Use an AWS Elastic Container Registry (ECR) image in your CI/CD
Instead of referencing an image hosted on the GitLab Registry, you can Instead of referencing an image hosted on the GitLab Registry, you can
reference an image hosted on any third-party registry, such as the reference an image hosted on any third-party registry, such as the
...@@ -65,7 +70,7 @@ repository](https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-push-e ...@@ -65,7 +70,7 @@ repository](https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-push-e
Then reference it in your `.gitlab-ci.yml` file and replace the `image` Then reference it in your `.gitlab-ci.yml` file and replace the `image`
path to point to your ECR image. path to point to your ECR image.
## Deploy your application to the AWS Elastic Container Service (ECS) ### Deploy your application to the AWS Elastic Container Service (ECS)
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/207962) in GitLab 12.9. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/207962) in GitLab 12.9.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment