SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Downloaden Sie, um offline zu lesen
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CHENNAI
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Powering Test
Environments with
Amazon EKS using
Serverless Tool
KARTHIKEYAN VENKATRAMAN | August 10, 2019
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
● Subscription management platform that helps untangle
recurring revenue businesses from spaghetti billing.
● Hosted on AWS Cloud.
120 +
Currencies
20+
Payment
Gateways
8,500 +
Customers
50 +
Countries Employees
300+
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
BUSINESS CHALLENGE
With growing development teams, our key business challenge was to
improve the release cycle time.
Spin up Test Environments on the fly to empower Integration Testing
across various microservices
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Chargebee
Application
Stack
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
● Monolithic application
● Multiple internal microservices
● Hosted on EC2 Instances
● In-house deployment tool
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Development Time
Local
● Feature, Bug
Fixes
● Unit Testing
2-3 Days
DEV
● Manual and
Integrations Test
● Database
Migrations
● Feature Demos for
Product Teams
2-3 Hours
STAGING
● Database
Migrations
● Sanity
Testing
● Patch Fix
Go Live
PRODUCTION
● Database
Migrations
● Rolling
Upgrades
● GO Live
1-2 Hours
● Functional
Tests(covers 60% of
use cases)
● Local Database
Schema Generation
● Parallel Test
executions
● Go or No-Go for Dev
QA (Automated)
Deployment Stages and Timelines:
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Bottleneck with Dev
Majority of the features that land
in dev took a minimum of two
days to progress to Staging. LOCAL
I’m
waiting
for the
DEV :(
DEV
STG
PROD
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database
Migrations
& Validations
Team
Collaborations
& Dependencies
Testing
& Bug Fixes
Infra Changes
& Environment
Updates
Delay in Dev
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Solution:
Launch Dynamic PREDEV
Environments
LOCAL
I’m in Predev
and will
release to
Prod Shortly
DEV
STG
PROD
PRE
DEV
PRE
DEV
PRE
DEV
PRE
DEV
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1. Immutable Setup
2. Parallelize Build
3. Perform Database Migrations with Production
alike Schema
4. Onboard New Services quickly as they evolve
5. Low Operational Overhead
6. CI/CD
7. Security & Compliance
Solution Requirements
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
● Reclone Dev environments with EC2 instances.
● Containers.
Options
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 INSTANCES
CONTAINERS
We opted to go with containers using
AWS EKS.
Pros:
● Templated setup
● Identical to other
environments.
Cons:
● Infrastructure costs.
● Operational overheads.
Pros:
● Build for the future.
● Low operational overhead.
● Low infra costs.
Cons:
● Infrastructure is different from
other environments.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Elastic Kubernetes Service (EKS)
● Prior experience with Kubernetes
● Managed control plane service
● Active community support
● Cloud agnostic
WORKER NODES
VPC
EKS
AZ-1 AZ-2 AZ-3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TOOLS FUNCTIONALITY PURPOSE
AWS Cloudformation
Infrastructure as a Code Provision infrastructure resources in
AWS Cloud Environment.
AWS Elastic Container
Service for Kubernetes (EKS)
Container Orchestration
Engine
Deploy, manage and scale Container applications.
AWS Elastic Container
Registry (ECR)
Container Registry Store and manage Docker Container images
AWS ALB Ingress Controller
Ingress Controller
(Maintained & Supported
by AWS)
To create application load balancer which routes
HTTP[s] traffic across different endpoints.
Tool Kit
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TOOLS FUNCTIONALITY PURPOSE
KUBE2IAM
Fine Grained IAM
permissions to Pods
Provides IAM Credentials for Container to make
calls to AWS Service based on the Pod level
Roles.
ExternalDNS
DNS mapping for
Kubernetes Services and
Ingresses(Community
Project)
Kubernetes Services and Ingress is mapped to
AWS Route53 for DNS resolution.
HELM
Kubernetes Application
Manager(CNCF Project)
Manage Kubernetes Applications using charts.
Create, Version Control and Publish Kubernetes
Resources.
Jenkins
Open Source Automation
Tool
Used as Build Server with various Pipeline Jobs
which helps to provision Predev Environment by
communicating with EKS and ECR
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
● EKS control plane for cluster management
● Cloudformation for VPC and EKS Worker
Nodes Set up
● Docker Images in AWS ECR
● ALB Ingress Controller for Load Balancing
○ One per predev environment.
● External DNS and Route53 for DNS
● Kube2IAM for Policy management
● Cloudwatch for Monitoring.
Solution Overview
WORKER NODES
VPC
EKS
AZ-1 AZ-2
RDS (1..N)
DYNAMODB
ALB (1..N)
ROUTE 53
ECR
IAM
S3
CLOUDWATCH
CLOUDFORMATION
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Leveraging ALB
with Kubernetes
Ingress Controller
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
KUBE PROXYAWS-NODE-VPC
PD1(APP)
PD2(UI-CDNOTES)PD3(ELASTICMQ)
PD1(AUDIT)
PD1(ELASTICMQ) KUBE PROXY
KUBE2IAM
TILLER
PD1(UI-INV)
PD2(DB-MIG)
AWS-NODE-VPCEXTERNALDNSALB-INGRESS
CONTROLLER
KUBERNETES
CLUSTER
KUBERNETES
APISERVER
KUBE2IAM
NODEPORT NODEPORT NODEPORT
Rule
Host: *.pd1.in
Rule
Host: *.audits.pd1.in
Rule
Host: *.ui.pd1.in
Path: /invoices
APP-Target
Group(Instance
Mode)
AUIDIT-Target
Group(Instance
Mode)
UI-INV-Target
Group(Instance
Mode)
APPLICATION
LOAD BALANCER
Ingress Resource
Creation using
HELM CHARTS
DAEMONSET
PODS
APPLICATION
PODS
EKS-WORKER-NODE EKS-WORKER-NODE
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Minions -
Self Service Portal
for Predev Setup
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
● To ease developers to quickly provision Predev environments.
● Helps :
○ Provision/De-Provision environments
○ CI/CD
○ Track build and deployment status
○ Control access
Minions (Serverless Tool)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Minions Serverless Architecture
1. Single page application (SPA).
2. Frontend served by Cloudfront with S3
origin.(vue.js).
3. AWS Cognito with User Pool for authentication.
4. API Gateway backed by Lambda function used to
perform server side functions.
5. Leveraging AWS WAF with Cloudfront and API
Gateway for additional security.
6. Lambda Function used SSM RUN Command to
trigger Jenkins commands.
7. Jenkins installs/updates/deletes environment in
EKS using Helm charts.
JENKINS
SSM
RUN COMMANDLAMBDAAPI
GATEWAY
S3CLOUDFRONT
DYNAMODBCOGNITO
DEVELOPERS
SQSSNS
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CI/CD For Predev
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DEVELOPERS GITHUB
JENKINS
ECR
EKS
Developers commit
to their feature
branch
Docker images
pushed to ECR
Jenkins polls the
branch for changes
EKS pulls the images
from ECR to setup
pods
Jenkins updates the
pods using helm charts
CI/CD For Predev
DOCKER
IMAGES
Jenkins builds the
docker images
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Deployment Stages and Timelines (Post Predev Implementation):
Development
Time
LOCAL
● Feature ,Bug
Fixes.
● Unit Testing
2-3 Hours
DEV
● Database
Migrations
● Sanity Test
2-3 Hours
STAGING
● Database
migrations
● Sanity
Testing
● Patch Fix
Go Live
PRODUCTION
● Database
Migrations.
● Rolling
Upgrades
● GO Live
1-2 Hours
● Functional Tests
● Local Database
Schema
Generation
● Parallel Test
Executions
● Go or No-Go for
Dev
QA(Automated)
Development
Time
PREDEV
● Feature Testing
,Bug Fixes.
● Database
Migration
● Functional and
Integration Tests
● User Acceptance
Tests
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Containers on AWS: An Introduction
Containers on AWS: An IntroductionContainers on AWS: An Introduction
Containers on AWS: An IntroductionAmazon Web Services
 
Building Microservices with the 12 Factor App Pattern on AWS
Building Microservices with the 12 Factor App Pattern on AWSBuilding Microservices with the 12 Factor App Pattern on AWS
Building Microservices with the 12 Factor App Pattern on AWSAmazon Web Services
 
Advanced workload scheduling for containers on AWS
Advanced workload scheduling for containers on AWSAdvanced workload scheduling for containers on AWS
Advanced workload scheduling for containers on AWSNathan Peck
 
AWS DevDay Berlin - Automating building blocks choices you will face with con...
AWS DevDay Berlin - Automating building blocks choices you will face with con...AWS DevDay Berlin - Automating building blocks choices you will face with con...
AWS DevDay Berlin - Automating building blocks choices you will face with con...Cobus Bernard
 
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)Amazon Web Services Korea
 
A Pathway to Continuous Integration/Continuous Delivery on AWS
A Pathway to Continuous Integration/Continuous Delivery on AWSA Pathway to Continuous Integration/Continuous Delivery on AWS
A Pathway to Continuous Integration/Continuous Delivery on AWSBhuvaneswari Subramani
 
Getting Started on Amazon EKS
Getting Started on Amazon EKSGetting Started on Amazon EKS
Getting Started on Amazon EKSMatthew Barlocker
 
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...Amazon Web Services
 
Getting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWSGetting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWSAmazon Web Services
 
20201012 - Serverless Architecture Conference - Deploying serverless applicat...
20201012 - Serverless Architecture Conference - Deploying serverless applicat...20201012 - Serverless Architecture Conference - Deploying serverless applicat...
20201012 - Serverless Architecture Conference - Deploying serverless applicat...Marcia Villalba
 
Deep dive ECS & Fargate Deep Dive
Deep dive ECS & Fargate Deep DiveDeep dive ECS & Fargate Deep Dive
Deep dive ECS & Fargate Deep DiveAmazon Web Services
 
Deep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & FargateDeep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & FargateAmazon Web Services
 
Boost your AWS Infrastructure with CDK
Boost your AWS Infrastructure with CDKBoost your AWS Infrastructure with CDK
Boost your AWS Infrastructure with CDKphilippgarbe
 

Was ist angesagt? (20)

Containers on AWS: An Introduction
Containers on AWS: An IntroductionContainers on AWS: An Introduction
Containers on AWS: An Introduction
 
Building Microservices with the 12 Factor App Pattern on AWS
Building Microservices with the 12 Factor App Pattern on AWSBuilding Microservices with the 12 Factor App Pattern on AWS
Building Microservices with the 12 Factor App Pattern on AWS
 
Amazon EKS Deep Dive
Amazon EKS Deep DiveAmazon EKS Deep Dive
Amazon EKS Deep Dive
 
Advanced workload scheduling for containers on AWS
Advanced workload scheduling for containers on AWSAdvanced workload scheduling for containers on AWS
Advanced workload scheduling for containers on AWS
 
AWS Containers Day.pdf
AWS Containers Day.pdfAWS Containers Day.pdf
AWS Containers Day.pdf
 
AWS DevDay Berlin - Automating building blocks choices you will face with con...
AWS DevDay Berlin - Automating building blocks choices you will face with con...AWS DevDay Berlin - Automating building blocks choices you will face with con...
AWS DevDay Berlin - Automating building blocks choices you will face with con...
 
CI/CD on AWS
CI/CD on AWSCI/CD on AWS
CI/CD on AWS
 
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
Container, Container, Container -유재석 (AWS 솔루션즈 아키텍트)
 
A Pathway to Continuous Integration/Continuous Delivery on AWS
A Pathway to Continuous Integration/Continuous Delivery on AWSA Pathway to Continuous Integration/Continuous Delivery on AWS
A Pathway to Continuous Integration/Continuous Delivery on AWS
 
Getting Started on Amazon EKS
Getting Started on Amazon EKSGetting Started on Amazon EKS
Getting Started on Amazon EKS
 
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
PaaS – From Code to Running Application using AWS Elastic Beanstalk (DEV323) ...
 
Getting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWSGetting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWS
 
20201012 - Serverless Architecture Conference - Deploying serverless applicat...
20201012 - Serverless Architecture Conference - Deploying serverless applicat...20201012 - Serverless Architecture Conference - Deploying serverless applicat...
20201012 - Serverless Architecture Conference - Deploying serverless applicat...
 
Deep dive ECS & Fargate Deep Dive
Deep dive ECS & Fargate Deep DiveDeep dive ECS & Fargate Deep Dive
Deep dive ECS & Fargate Deep Dive
 
Deep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & FargateDeep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & Fargate
 
Introducing AWS Fargate
Introducing AWS FargateIntroducing AWS Fargate
Introducing AWS Fargate
 
Past, Present and Future of DevOps Infrastructure
Past, Present and Future of DevOps InfrastructurePast, Present and Future of DevOps Infrastructure
Past, Present and Future of DevOps Infrastructure
 
AWS ECS vs EKS
AWS ECS vs EKSAWS ECS vs EKS
AWS ECS vs EKS
 
Running Kubernetes on AWS.pdf
Running Kubernetes on AWS.pdfRunning Kubernetes on AWS.pdf
Running Kubernetes on AWS.pdf
 
Boost your AWS Infrastructure with CDK
Boost your AWS Infrastructure with CDKBoost your AWS Infrastructure with CDK
Boost your AWS Infrastructure with CDK
 

Ähnlich wie Powering Test Environments with Amazon EKS using Serverless Tool | AWS Community Day — Chennai

Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfAmazon Web Services
 
AWS Accra Meetup - Developing Modern Applications in the Cloud
AWS Accra Meetup - Developing Modern Applications in the CloudAWS Accra Meetup - Developing Modern Applications in the Cloud
AWS Accra Meetup - Developing Modern Applications in the CloudCobus Bernard
 
[CPT DevOps Meetup] Developing Modern Applications in the Cloud
[CPT DevOps Meetup] Developing Modern Applications in the Cloud[CPT DevOps Meetup] Developing Modern Applications in the Cloud
[CPT DevOps Meetup] Developing Modern Applications in the CloudCobus Bernard
 
AWS Jozi Meetup Developing Modern Applications in the Cloud
AWS Jozi Meetup Developing Modern Applications in the CloudAWS Jozi Meetup Developing Modern Applications in the Cloud
AWS Jozi Meetup Developing Modern Applications in the CloudCobus Bernard
 
Costruisci e distribuisci applicazioni web moderne con AWS Amplify Console
Costruisci e distribuisci applicazioni web moderne con AWS Amplify ConsoleCostruisci e distribuisci applicazioni web moderne con AWS Amplify Console
Costruisci e distribuisci applicazioni web moderne con AWS Amplify ConsoleAmazon Web Services
 
Breaking the Monolith Using AWS Container Services
Breaking the Monolith Using AWS Container ServicesBreaking the Monolith Using AWS Container Services
Breaking the Monolith Using AWS Container ServicesAmazon Web Services
 
Breaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container ServicesBreaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container ServicesAmazon Web Services
 
Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...
Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...
Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...Amazon Web Services
 
DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayAmazon Web Services
 
CICDforModernApplications_Stockholm.pdf
CICDforModernApplications_Stockholm.pdfCICDforModernApplications_Stockholm.pdf
CICDforModernApplications_Stockholm.pdfAmazon Web Services
 
Continuous Integration and Continuous Delivery for your serverless apps - Seb...
Continuous Integration and Continuous Delivery for your serverless apps - Seb...Continuous Integration and Continuous Delivery for your serverless apps - Seb...
Continuous Integration and Continuous Delivery for your serverless apps - Seb...Shift Conference
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAmazon Web Services
 
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)Amazon Web Services Korea
 
Amazon Container Services – 유재석 (AWS 솔루션즈 아키텍트)
 Amazon Container Services – 유재석 (AWS 솔루션즈 아키텍트) Amazon Container Services – 유재석 (AWS 솔루션즈 아키텍트)
Amazon Container Services – 유재석 (AWS 솔루션즈 아키텍트)Amazon Web Services Korea
 
Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...Amazon Web Services
 
From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019Amazon Web Services
 
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...AWS Summits
 

Ähnlich wie Powering Test Environments with Amazon EKS using Serverless Tool | AWS Community Day — Chennai (20)

Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
AWS Accra Meetup - Developing Modern Applications in the Cloud
AWS Accra Meetup - Developing Modern Applications in the CloudAWS Accra Meetup - Developing Modern Applications in the Cloud
AWS Accra Meetup - Developing Modern Applications in the Cloud
 
[CPT DevOps Meetup] Developing Modern Applications in the Cloud
[CPT DevOps Meetup] Developing Modern Applications in the Cloud[CPT DevOps Meetup] Developing Modern Applications in the Cloud
[CPT DevOps Meetup] Developing Modern Applications in the Cloud
 
AWS Jozi Meetup Developing Modern Applications in the Cloud
AWS Jozi Meetup Developing Modern Applications in the CloudAWS Jozi Meetup Developing Modern Applications in the Cloud
AWS Jozi Meetup Developing Modern Applications in the Cloud
 
Costruisci e distribuisci applicazioni web moderne con AWS Amplify Console
Costruisci e distribuisci applicazioni web moderne con AWS Amplify ConsoleCostruisci e distribuisci applicazioni web moderne con AWS Amplify Console
Costruisci e distribuisci applicazioni web moderne con AWS Amplify Console
 
Breaking the Monolith Using AWS Container Services
Breaking the Monolith Using AWS Container ServicesBreaking the Monolith Using AWS Container Services
Breaking the Monolith Using AWS Container Services
 
CI/CD using AWS developer tools
CI/CD using AWS developer toolsCI/CD using AWS developer tools
CI/CD using AWS developer tools
 
Breaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container ServicesBreaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container Services
 
Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...
Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...
Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...
 
DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon Way
 
CICDforModernApplications_Stockholm.pdf
CICDforModernApplications_Stockholm.pdfCICDforModernApplications_Stockholm.pdf
CICDforModernApplications_Stockholm.pdf
 
Continuous Integration and Continuous Delivery for your serverless apps - Seb...
Continuous Integration and Continuous Delivery for your serverless apps - Seb...Continuous Integration and Continuous Delivery for your serverless apps - Seb...
Continuous Integration and Continuous Delivery for your serverless apps - Seb...
 
AWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern ApplicationsAWS ECS Workshop A Journey to Modern Applications
AWS ECS Workshop A Journey to Modern Applications
 
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
 
Amazon Container Services – 유재석 (AWS 솔루션즈 아키텍트)
 Amazon Container Services – 유재석 (AWS 솔루션즈 아키텍트) Amazon Container Services – 유재석 (AWS 솔루션즈 아키텍트)
Amazon Container Services – 유재석 (AWS 솔루션즈 아키텍트)
 
Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...
 
From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019
 
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
 
AWSome Day Brasil - Março 2020
AWSome Day Brasil - Março 2020AWSome Day Brasil - Março 2020
AWSome Day Brasil - Março 2020
 
AWSome Day Brasil - Junho 2020
AWSome Day Brasil - Junho 2020AWSome Day Brasil - Junho 2020
AWSome Day Brasil - Junho 2020
 

Mehr von Chargebee

How One Delightfully Simple Plugin Can Boost 3 Crucial Customer Support Metrics
How One Delightfully Simple Plugin Can Boost 3 Crucial Customer Support MetricsHow One Delightfully Simple Plugin Can Boost 3 Crucial Customer Support Metrics
How One Delightfully Simple Plugin Can Boost 3 Crucial Customer Support MetricsChargebee
 
SaaS Superheroes And The Hidden Promise Of Ordinary Moments
SaaS Superheroes And The Hidden Promise Of Ordinary MomentsSaaS Superheroes And The Hidden Promise Of Ordinary Moments
SaaS Superheroes And The Hidden Promise Of Ordinary MomentsChargebee
 
SaaS Businesses, Unfair Distribution Advantages and the Legend of David and G...
SaaS Businesses, Unfair Distribution Advantages and the Legend of David and G...SaaS Businesses, Unfair Distribution Advantages and the Legend of David and G...
SaaS Businesses, Unfair Distribution Advantages and the Legend of David and G...Chargebee
 
Google Analytics for Particularly Curious SaaS People
Google Analytics for Particularly Curious SaaS PeopleGoogle Analytics for Particularly Curious SaaS People
Google Analytics for Particularly Curious SaaS PeopleChargebee
 
SaaS Free Trials - Credit Card Or No Credit Card? Our Recommendations
SaaS Free Trials - Credit Card Or No Credit Card? Our RecommendationsSaaS Free Trials - Credit Card Or No Credit Card? Our Recommendations
SaaS Free Trials - Credit Card Or No Credit Card? Our RecommendationsChargebee
 
The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World Chargebee
 
SaaS Subscription Billing with ChargeBee
SaaS Subscription Billing with ChargeBeeSaaS Subscription Billing with ChargeBee
SaaS Subscription Billing with ChargeBeeChargebee
 
Subscription billing for cowoking spaces
Subscription billing for cowoking spacesSubscription billing for cowoking spaces
Subscription billing for cowoking spacesChargebee
 
Trends in Digital Media Industry
Trends in Digital Media IndustryTrends in Digital Media Industry
Trends in Digital Media IndustryChargebee
 

Mehr von Chargebee (9)

How One Delightfully Simple Plugin Can Boost 3 Crucial Customer Support Metrics
How One Delightfully Simple Plugin Can Boost 3 Crucial Customer Support MetricsHow One Delightfully Simple Plugin Can Boost 3 Crucial Customer Support Metrics
How One Delightfully Simple Plugin Can Boost 3 Crucial Customer Support Metrics
 
SaaS Superheroes And The Hidden Promise Of Ordinary Moments
SaaS Superheroes And The Hidden Promise Of Ordinary MomentsSaaS Superheroes And The Hidden Promise Of Ordinary Moments
SaaS Superheroes And The Hidden Promise Of Ordinary Moments
 
SaaS Businesses, Unfair Distribution Advantages and the Legend of David and G...
SaaS Businesses, Unfair Distribution Advantages and the Legend of David and G...SaaS Businesses, Unfair Distribution Advantages and the Legend of David and G...
SaaS Businesses, Unfair Distribution Advantages and the Legend of David and G...
 
Google Analytics for Particularly Curious SaaS People
Google Analytics for Particularly Curious SaaS PeopleGoogle Analytics for Particularly Curious SaaS People
Google Analytics for Particularly Curious SaaS People
 
SaaS Free Trials - Credit Card Or No Credit Card? Our Recommendations
SaaS Free Trials - Credit Card Or No Credit Card? Our RecommendationsSaaS Free Trials - Credit Card Or No Credit Card? Our Recommendations
SaaS Free Trials - Credit Card Or No Credit Card? Our Recommendations
 
The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World The Evolving Role of Payments In a Customer Centric World
The Evolving Role of Payments In a Customer Centric World
 
SaaS Subscription Billing with ChargeBee
SaaS Subscription Billing with ChargeBeeSaaS Subscription Billing with ChargeBee
SaaS Subscription Billing with ChargeBee
 
Subscription billing for cowoking spaces
Subscription billing for cowoking spacesSubscription billing for cowoking spaces
Subscription billing for cowoking spaces
 
Trends in Digital Media Industry
Trends in Digital Media IndustryTrends in Digital Media Industry
Trends in Digital Media Industry
 

Kürzlich hochgeladen

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 

Kürzlich hochgeladen (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Powering Test Environments with Amazon EKS using Serverless Tool | AWS Community Day — Chennai

  • 1. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CHENNAI
  • 2. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Powering Test Environments with Amazon EKS using Serverless Tool KARTHIKEYAN VENKATRAMAN | August 10, 2019
  • 3. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ● Subscription management platform that helps untangle recurring revenue businesses from spaghetti billing. ● Hosted on AWS Cloud. 120 + Currencies 20+ Payment Gateways 8,500 + Customers 50 + Countries Employees 300+
  • 4. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. BUSINESS CHALLENGE With growing development teams, our key business challenge was to improve the release cycle time. Spin up Test Environments on the fly to empower Integration Testing across various microservices
  • 5. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Chargebee Application Stack
  • 6. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ● Monolithic application ● Multiple internal microservices ● Hosted on EC2 Instances ● In-house deployment tool
  • 7. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Development Time Local ● Feature, Bug Fixes ● Unit Testing 2-3 Days DEV ● Manual and Integrations Test ● Database Migrations ● Feature Demos for Product Teams 2-3 Hours STAGING ● Database Migrations ● Sanity Testing ● Patch Fix Go Live PRODUCTION ● Database Migrations ● Rolling Upgrades ● GO Live 1-2 Hours ● Functional Tests(covers 60% of use cases) ● Local Database Schema Generation ● Parallel Test executions ● Go or No-Go for Dev QA (Automated) Deployment Stages and Timelines:
  • 8. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bottleneck with Dev Majority of the features that land in dev took a minimum of two days to progress to Staging. LOCAL I’m waiting for the DEV :( DEV STG PROD
  • 9. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database Migrations & Validations Team Collaborations & Dependencies Testing & Bug Fixes Infra Changes & Environment Updates Delay in Dev
  • 10. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Solution: Launch Dynamic PREDEV Environments LOCAL I’m in Predev and will release to Prod Shortly DEV STG PROD PRE DEV PRE DEV PRE DEV PRE DEV
  • 11. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1. Immutable Setup 2. Parallelize Build 3. Perform Database Migrations with Production alike Schema 4. Onboard New Services quickly as they evolve 5. Low Operational Overhead 6. CI/CD 7. Security & Compliance Solution Requirements
  • 12. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ● Reclone Dev environments with EC2 instances. ● Containers. Options
  • 13. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2 INSTANCES CONTAINERS We opted to go with containers using AWS EKS. Pros: ● Templated setup ● Identical to other environments. Cons: ● Infrastructure costs. ● Operational overheads. Pros: ● Build for the future. ● Low operational overhead. ● Low infra costs. Cons: ● Infrastructure is different from other environments.
  • 14. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Elastic Kubernetes Service (EKS) ● Prior experience with Kubernetes ● Managed control plane service ● Active community support ● Cloud agnostic WORKER NODES VPC EKS AZ-1 AZ-2 AZ-3
  • 15. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TOOLS FUNCTIONALITY PURPOSE AWS Cloudformation Infrastructure as a Code Provision infrastructure resources in AWS Cloud Environment. AWS Elastic Container Service for Kubernetes (EKS) Container Orchestration Engine Deploy, manage and scale Container applications. AWS Elastic Container Registry (ECR) Container Registry Store and manage Docker Container images AWS ALB Ingress Controller Ingress Controller (Maintained & Supported by AWS) To create application load balancer which routes HTTP[s] traffic across different endpoints. Tool Kit
  • 16. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TOOLS FUNCTIONALITY PURPOSE KUBE2IAM Fine Grained IAM permissions to Pods Provides IAM Credentials for Container to make calls to AWS Service based on the Pod level Roles. ExternalDNS DNS mapping for Kubernetes Services and Ingresses(Community Project) Kubernetes Services and Ingress is mapped to AWS Route53 for DNS resolution. HELM Kubernetes Application Manager(CNCF Project) Manage Kubernetes Applications using charts. Create, Version Control and Publish Kubernetes Resources. Jenkins Open Source Automation Tool Used as Build Server with various Pipeline Jobs which helps to provision Predev Environment by communicating with EKS and ECR
  • 17. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ● EKS control plane for cluster management ● Cloudformation for VPC and EKS Worker Nodes Set up ● Docker Images in AWS ECR ● ALB Ingress Controller for Load Balancing ○ One per predev environment. ● External DNS and Route53 for DNS ● Kube2IAM for Policy management ● Cloudwatch for Monitoring. Solution Overview WORKER NODES VPC EKS AZ-1 AZ-2 RDS (1..N) DYNAMODB ALB (1..N) ROUTE 53 ECR IAM S3 CLOUDWATCH CLOUDFORMATION
  • 18. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Leveraging ALB with Kubernetes Ingress Controller
  • 19. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. KUBE PROXYAWS-NODE-VPC PD1(APP) PD2(UI-CDNOTES)PD3(ELASTICMQ) PD1(AUDIT) PD1(ELASTICMQ) KUBE PROXY KUBE2IAM TILLER PD1(UI-INV) PD2(DB-MIG) AWS-NODE-VPCEXTERNALDNSALB-INGRESS CONTROLLER KUBERNETES CLUSTER KUBERNETES APISERVER KUBE2IAM NODEPORT NODEPORT NODEPORT Rule Host: *.pd1.in Rule Host: *.audits.pd1.in Rule Host: *.ui.pd1.in Path: /invoices APP-Target Group(Instance Mode) AUIDIT-Target Group(Instance Mode) UI-INV-Target Group(Instance Mode) APPLICATION LOAD BALANCER Ingress Resource Creation using HELM CHARTS DAEMONSET PODS APPLICATION PODS EKS-WORKER-NODE EKS-WORKER-NODE
  • 20. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Minions - Self Service Portal for Predev Setup
  • 21. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ● To ease developers to quickly provision Predev environments. ● Helps : ○ Provision/De-Provision environments ○ CI/CD ○ Track build and deployment status ○ Control access Minions (Serverless Tool)
  • 22. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Minions Serverless Architecture 1. Single page application (SPA). 2. Frontend served by Cloudfront with S3 origin.(vue.js). 3. AWS Cognito with User Pool for authentication. 4. API Gateway backed by Lambda function used to perform server side functions. 5. Leveraging AWS WAF with Cloudfront and API Gateway for additional security. 6. Lambda Function used SSM RUN Command to trigger Jenkins commands. 7. Jenkins installs/updates/deletes environment in EKS using Helm charts. JENKINS SSM RUN COMMANDLAMBDAAPI GATEWAY S3CLOUDFRONT DYNAMODBCOGNITO DEVELOPERS SQSSNS
  • 23. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CI/CD For Predev
  • 24. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DEVELOPERS GITHUB JENKINS ECR EKS Developers commit to their feature branch Docker images pushed to ECR Jenkins polls the branch for changes EKS pulls the images from ECR to setup pods Jenkins updates the pods using helm charts CI/CD For Predev DOCKER IMAGES Jenkins builds the docker images
  • 25. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Deployment Stages and Timelines (Post Predev Implementation): Development Time LOCAL ● Feature ,Bug Fixes. ● Unit Testing 2-3 Hours DEV ● Database Migrations ● Sanity Test 2-3 Hours STAGING ● Database migrations ● Sanity Testing ● Patch Fix Go Live PRODUCTION ● Database Migrations. ● Rolling Upgrades ● GO Live 1-2 Hours ● Functional Tests ● Local Database Schema Generation ● Parallel Test Executions ● Go or No-Go for Dev QA(Automated) Development Time PREDEV ● Feature Testing ,Bug Fixes. ● Database Migration ● Functional and Integration Tests ● User Acceptance Tests
  • 26. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank You