Git Product home page Git Product logo

dockerizing-node's Introduction

Dockerizing Node App

Dockerization, also known as “containerization,” refers to the process of packaging an application and its dependencies into a standardized container called a “Docker container.” Docker is an open-source platform that provides a lightweight and isolated environment for running applications.

Steps

  1. Docker Installation

  2. Verify that the Docker Engine installation is successful by running the hello-world image.

    sudo docker run hello-world
  3. Containerizing app

    docker build -t package-name .
  4. Running the image

    sudo docker run -it -p 8000:8000 package-name

    It will map 8000 port of container image to 8000 port of my machine


  1. On AWS ERC we will create repo

00:03 Introduction to the staff room session

02:22 Discussion on containerization and deployment

06:36 Setting up TypeScript configuration and basic Express application

08:28 Building and running the project with npm

12:19 How to copy package.json and package-lock.json in DevOps

14:59 Copying and organizing source code within containers and understanding Dockerfile usage

19:00 Package management and building distribution in DevOps

20:53 Running NPM and Docker commands

24:58 Containerized Node.js application with Docker image

27:11 Hosting code on a cloud and using image registries

31:12 Creating and configuring AWS IAM user and access keys

33:05 Setting up ADB and Docker build commands

36:54 Introduction to Elastic Container Service (ECS)

38:51 Setting up own clusters for staging and production

43:00 Using ECR for image management

44:59 Monitoring container health with health route

48:44 Deployment options and rolling updates

50:41 Handling bugs and scaling in DevOps

54:44 Autoscaling for ECS service

56:34 Auto scaling based on traffic and memory utilization

1:00:29 Setting up and monitoring task health status and target group

1:02:11 Setting up load balancer and target group for container management

1:06:07 Discussing Kubernetes deployment and scaling in DevOps

1:07:53 Managing zero running tasks in DevOps

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.