How to migrate on premise applications to AWS ECS (running on docker containers)

How to migrate on premise applications to AWS ECS (running on docker containers)

Primus Learning

54 года назад

3,927 Просмотров

This tutorial will walk you through how to migrate docker containers and applications from a server on-premise to ECS. Here are the steps we followed:
## Assumptions:
1. You have an aws account
2. You can create an ec2 instance
3. You have basic understanding of docker
4. That an ec2 instance is your on-premise server
## Steps
1. Create EC2 server on AWS Console (make sure you opened 80 port in security group)
2. Install git inside and clone the repository inside
3. install the docker on server using commands
4. Install docker inside the ec2 instance and add it to docker group
5. Deploy the application in the EC2 instance
### Run application using ECS

1. Create an ECS cluster
2. Create a task definition
3. Create service inside cluster
4. Check if the application is working

Git Repo where the code base is found: https://github.com/Primus-Learning/docker-to-ecs-project

To get to us:
website: primuslearning.org
LinkedIn page: https://www.linkedin.com/company/primus-learning

#devops #aws #python #primuslearning #programming #innovation #jobs #how #howto
Ссылки и html тэги не поддерживаются


Комментарии: