Blog

Why do we need continuous build and deployment processes

Why do we need continuous build and deployment processes. One of the driving forces behind see-I short for continuous integration and CD short for continuous delivery and continuous deployment is to detect problems or bugs as early as possible in the development lifecycle. If we only build and integrate our code right before us cycle…

What is Jenkins

Jenkins is an open source continuous integration to written in Java. Jenkins provides continuous integration services for software development. It is a solar based system running in a servlet container such as Abaci Tomcat. It is very robust extensible and well-tested product Jenkin’s support several platforms and tools out of the box like Java dot…

What is Blue/Green deplyoment

# Blue/Green deplyoment ## create IAM role * in the main navigation choose _Roles_ * click _create Role_ * choose **CodeDeploy** as AWS service * choose **CodeDeploy – ECS** as UseCase to add and click _Next::Permissions_ * ensure that on _attach permissions policies_ page the policy **AWSCodeDeployRoleForECS** is listed, otherwise add this policy * click…

How to enable Container Insights in AWS ECS Cluster

# Container Insights ## Enable Container insights on cluster level Execute the following command to enable Container Insights on the cluster. This command will enable **Service and Cluster level** insights on your ECS cluster “`bash aws ecs update-cluster-settings \ –cluster ecs-ec2 \ –settings name=containerInsights,value=enabled \ –region eu-central-1 “` ## Container logs into Cloudwatch 1. Go…

Microservices Canary Deployments using AWS AppMesh Using CloudFormation

# Microservices Canary Deployments using AWS AppMesh ## Step-1: What are we going to learn? What are Canary Deployments? – We are going to deploy V2 version of Notification Service. – We will split the traffic with 50% each between V1 and V2 version of notification service and test. – Monitor the X-Ray console. ##…

AWS ECS Tutorial – Microservices – Service Discovery

# Microservices – Service Discovery ## Step-1: What are we going to learn? – We are going to enable the service discovery for Notificaiton Microservice. – User Management Microservice will call Notification Service using AWS Cloud Map Namespace. – In that way calls from User Management Microservice to Notificaiton Microservice will be internal to VPC….

Continuous Integration and Continuous Delivery Setup using cloudformation

# Continuous Integration and Continuous Delivery ## Step-01: Introduction to CI CD – For introduction slides refer the [presentation slides](/otherfiles/presentations/AWS-FargateECS-Masterclass-Course.pdf). ## Step-02: Pre-requisite Step – Create Staging and production services in ECS – **Create ECS Task Definition** – Name: ecs-cicd-nginx – Container Name: ecs-cicd-nginx – **Important Note: Make a note of this container name, this…

AWS Fargate & ECS Tutorials, AWS Fargate & ECS Fundamentals

# AWS Fargate & ECS Fundamentals ## Step-01: Clusters Introduction – For introduction slides refer the [presentation slides](/otherfiles/presentations/AWS-FargateECS-Masterclass-Course.pdf). ## Step-02: Pre-requisite – Ensure we have a VPC in our region where we are creating the Fargate or ECS clusters. – **VPC** – Name: ecs-vpc – IPV4 CIDR Block: 10.0.0.0/16 – **Subnets** – Name: ecs-public-1a, CIDR…

Microservices Deployment on AWS Fargate & ECS Clusters

# Microservices Deployment on AWS Fargate & ECS Clusters # Module – 1: Introduction & Pre-requisites ## Step-1: What are we going to learn in this section? – We are going to deploy two microservices. – User Management Service – Notification Service ### Usecase Description – User Management **Create User API** will call Notification service…

How to Setup Microservices-XRay-AppMesh on AWS ECS Fgargate Using Cloudformatioon

How to Setup Microservices-XRay-AppMesh on AWS ECS Fgargate Using Cloudformatioon script # Handson Microservice-XRay-AppMesh ## 1 – Setup Microservice * start with _metalapp_ and _popapp_ taskdefinition cd 1-Setup aws ecs register-task-definition –cli-input-json file://td-metalapp-setup.json –region eu-central-1 aws ecs register-task-definition –cli-input-json file://td-popapp-setup.json –region eu-central-1 * create ECS service for both, _metalapp_ and _popapp_ both without public URL…