Blog post for deploying to AWS Blogs (Nov 24)
Proposal
This blog post will review the steps we took to add support for deploying to AWS and calls the wider community to contribute for other cloud provider support as well.
The pain: Deploying to the cloud should b easy and boring. No matter what tech stack your are using or what size your company is, the deployment process is the same, so why not automate it?
Steps:
- Build a docker image to connect to the AWS CLI - allowing you to perform any AWS command in CLI directly from the .gitlab-ci.yml template
- Create an image that creates a task definition in ECS
- Connect both images to create a full .gitlab-ci.yml template that deploys to ECS (uses Auto-Build template)
- Connect the template to AutoDevOps - expanding the users who can use AutoDevOps to also non k8s users that deploy to AWS
- Expand Support to Fargate
- Create docker images for:
- gl-cloudformation create-stack
- gl-ec2 push-to-s3
- gl-ec2 deploy-to-ec2
- Create a .gitlab-ci.yml template that uses the docker images to deploy to EC2
- Connect the template to AutoDevOps (not done yet)
- Create a template to deploy to S3 (not done yet)
- Connect the template to AutoDevOps (not done yet)
/cc @ebaque
Checklist
-
If you have a specific publish date in mind (please allow 3 weeks' lead time) -
Include it in the issue title and apply the appropriate milestone (e.g. Blogs October 2020
) -
Give the issue a due date of a minimum of 2 working days prior -
If your post is likely to be >2,000 words, give a due date of a minimum of 4 working days prior
-
-
If time sensitive -
Add ~"Blog: Priority" label and supplied rationale in description -
Mention @rebecca
to give her a heads up ASAP
-
-
If wide-spread customer impacting or sensitive, mention @nwoods
to give her a heads up ASAP, apply the sensitive label, and check the PR handbook in case you need to open an announcement request instead of a blog post issue -
If the post is about one of GitLab's Technology Partners, including integration partners, mention @TinaS
, apply the Partner Marketing label, and see the blog handbook for more on third-party posts -
If the post is about one of GitLab's customers, mention @KimLock
and@FionaOKeeffe
, apply the Customer Reference Program label, and see the blog handbook for more on third-party posts -
Indicate if supporting an event or campaign -
Indicate if this post requires additional approval from internal or external parties before publishing (please provide details in a comment)
Edited by Orit Golowinski