> For the complete documentation index, see [llms.txt](https://tkssharma-devops.gitbook.io/devops-training/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tkssharma-devops.gitbook.io/devops-training/devops-01-continuous-integration/continuous-integration-and-continuous-delivery/ci-cd-using-gitlab-ci-s3/ci-integration-with-aws.md).

# CI Integration with AWS

orchestration service, and **AWS** CodeDeploy, which automates code deployments to Amazon Elastic Compute Cloud (**Amazon EC2**) instances. You can use the Quick Start to **integrate** your own code push, build, and deploy pipeline with **AWS** services

Step 1. We now have gitlab runner running on EC2 Instance already now we can write out gitlab to deploy Code to S3, EC2 server or to elastic beanstalk  or using code deploy.

![](/files/-LhovsKgrp1pB07CvpLz)

![](/files/-Lhov6kYqOjgUwxo0z8U)

Examples for CI/CD Infra setup

* gitlab CI with S3 where cloud front is exposing S3 static website&#x20;

![](/files/-LhpC1H4uHpak2hNlS-2)

2\. gitlab CI with EC2 Instance where code being pushed to EC2 container using Gitlab runner running on some VM or EC2 Instance&#x20;

![](/files/-LhpDquU3eJssDTRPbES)

* deploy application to Elastic beanstalk using Docker Gitlab Runner.

![](/files/-LhpH9CBqqG8SadVN0_l)
