Git Product home page Git Product logo

ecs_nodejs's Introduction

ecs_nodejs

Pre-requisites

- Install Git
- Install Docker

Clone code from Git

git clone https://github.com/Naresh240/ecs_nodejs.git
cd ecs_nodejs

Create Repository in ECR

aws ecr create-repository --repository-name ecs-flask/home

Login to ECR

$(aws ecr get-login --no-include-email --region us-west-2)

Build docker image

docker build -t ecs-flask/home .

Tag your image so you can push the image to this repository

docker tag ecs-flask/home:latest 791382328408.dkr.ecr.us-west-2.amazonaws.com/ecs-flask/home:latest

Push image to repository

docker push 791382328408.dkr.ecr.us-west-2.amazonaws.com/ecs-flask/home:latest

Now open ECS and deploy Application

Goto ECS Service

1 Click on Get Started

2 Click on Configure

3 Click on Update

4 Click on Save

5 Click on Save

6 Click on Next

7 Click on Next

Review Launch Status

8

Click on Service

9

Goto LoadBalancer in EC2 service and copy DNS

10

Goto WebUI and Give as shown below

http://ec2co-ecsel-h1vjes3arngr-417700232.us-west-2.elb.amazonaws.com:5000/

ecs_nodejs's People

Contributors

naresh240 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.