How to deploy a simple application with AWS CodeDeploy

preview_player
Показать описание
In this video I want to show you how to deploy an application running on a AWS EC2 instance with docker-compose.

CodeDeploy can be used as a part of automated deployments for your CICD pipeline.

#aws #codedeploy #docker-compose #dockercompose

AppData for your EC2 instance:

#!/bin/bash
yum update -y
yum install -y ruby

# Install Docker
amazon-linux-extras install docker -y
service docker start
systemctl enable docker
usermod -a -G docker ec2-user

# Install Docker Compose
chmod +x /usr/local/bin/docker-compose

# Install code deploy agent
chmod +x ./install
./install auto

Here is a path to the sample application:

Here is a path to a repository containing Cloud Formation scripts for this deployment:

Want to do this with Cloud Formation?

Twitter:
#kobbikobb
Рекомендации по теме
Комментарии
Автор

Excellent. Thank you. I'm going to recommend this channel.

Автор

Thanks amazing video so simple please upload more simple aws videos

aviel
Автор

Great video! I could follow the steps without any issue.

CWNC