Success story of migrating entire infrastructure from AWS Singapore to AWS Mumbai

AWS User Group Bengaluru
AWS User Group BengaluruAWS User Group Bengaluru
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
BENGALURU
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Success story of migrating entire
infrastructure from AWS Singapore to AWS
Mumbai
Pranesh Vittal CG, Database Architect, Medlife.com | 6th Oct 2018.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is Medlife.com?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
When did we come into existence?
First Order
Delivered – May
2015
First Production
Deployment – May
2015
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Growth Story
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Growth Story:
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Growth Story:
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Story
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Story:
Stringent Laws
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Story:
AWS Mumbai is cheaper than
AWS Singapore.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Story:
Stay closer to the users.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Story:
Aggressive Marketing in the
form of TVC, Online
Marketing, Social Media
Marketing.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Story:
• Availability of the required services in the target region.
• An opportunity to implement best practices.
• Expiry of Reserved Instances.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Planning Story
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Technology stack at Medlife.com
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Planning Story:
• Program Duration : 2 Months.
• VPC Peering between the two regions.
• Segregating Automated & Manual tasks.
• Scarce documentation available on this topic.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Planning Story (Continued):
• See yourself transition from unknown-unknowns to known-knowns.
• No half-hearted attempts.
• Keep the stake holders informed about what to expect, the risks, the
timelines, the additional costs etc…
• Nurture a good team with mix of DevOps, Development, QA Teams.
• Plan well in advance for any time-critical tasks like data sync.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Planning Story (Continued):
• Prefer DNS names over IP values.
• Review AWS limits of the target region to avoid last minute surprises.
• Practice with smaller instance type during automation tests.
• Always have a good rollback plan in place in case of unforeseen errors.
• Make best use of Business or Enterprise support.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Execution Story
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Execution Story on the D-Day:
• No major release before the migration.
• Enough rest time for the core migration team.
• Don’t engage the whole team for the migration.
• Have a positive mindset.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Execution Story on the D-Day (Continued):
• Blue-Green deployment using Terraform, Jenkins, Chef
• Once all the required infrastructure was ready.
 Switch the Primary MongoDB replica set member from
Singapore to Mumbai region.
 Change the Route53 rules from Singapore to Mumbai region.
 Migrate the services that required manual intervention.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1 of 23

More Related Content

What's hot(20)

Are you Well-Architected?Are you Well-Architected?
Are you Well-Architected?
Amazon Web Services407 views
Aws summit   strikingly analyticsAws summit   strikingly analytics
Aws summit strikingly analytics
Chase Zhang128 views
Launching applications the Amazon WayLaunching applications the Amazon Way
Launching applications the Amazon Way
Amazon Web Services128 views
So You Want to be Well-Architected?So You Want to be Well-Architected?
So You Want to be Well-Architected?
Amazon Web Services306 views

Similar to Success story of migrating entire infrastructure from AWS Singapore to AWS Mumbai(20)

An Agile Approach to Cloud AdoptionAn Agile Approach to Cloud Adoption
An Agile Approach to Cloud Adoption
Amazon Web Services300 views
Moving to DevOpsMoving to DevOps
Moving to DevOps
Amazon Web Services1.3K views
Innovation and Startups TodayInnovation and Startups Today
Innovation and Startups Today
Amazon Web Services155 views
Keynote: AWS Startup Day São PauloKeynote: AWS Startup Day São Paulo
Keynote: AWS Startup Day São Paulo
Amazon Web Services LATAM140 views
Implementing Microservices by DDDImplementing Microservices by DDD
Implementing Microservices by DDD
Amazon Web Services2.4K views
Industrial TransformationIndustrial Transformation
Industrial Transformation
Amazon Web Services423 views
Enterprise Cloud Adoption Enterprise Cloud Adoption
Enterprise Cloud Adoption
Tom Laszewski407 views

More from AWS User Group Bengaluru(20)

Demystifying identity on AWSDemystifying identity on AWS
Demystifying identity on AWS
AWS User Group Bengaluru439 views
AWS Secrets for Best PracticesAWS Secrets for Best Practices
AWS Secrets for Best Practices
AWS User Group Bengaluru930 views
Cloud SecurityCloud Security
Cloud Security
AWS User Group Bengaluru1.9K views
Medlife journey with AWSMedlife journey with AWS
Medlife journey with AWS
AWS User Group Bengaluru336 views
Slack's transition away from a single AWS accountSlack's transition away from a single AWS account
Slack's transition away from a single AWS account
AWS User Group Bengaluru213 views
Log analytics with ELK stackLog analytics with ELK stack
Log analytics with ELK stack
AWS User Group Bengaluru2.2K views
Serverless CultureServerless Culture
Serverless Culture
AWS User Group Bengaluru255 views
Refactoring to serverlessRefactoring to serverless
Refactoring to serverless
AWS User Group Bengaluru351 views
Amazon EC2 Spot Instances WorkshopAmazon EC2 Spot Instances Workshop
Amazon EC2 Spot Instances Workshop
AWS User Group Bengaluru475 views
AWS Secrets for Best PracticesAWS Secrets for Best Practices
AWS Secrets for Best Practices
AWS User Group Bengaluru438 views
Cloud SecurityCloud Security
Cloud Security
AWS User Group Bengaluru12.4K views
Amazon EC2 Spot InstancesAmazon EC2 Spot Instances
Amazon EC2 Spot Instances
AWS User Group Bengaluru735 views
Cost Optimization in AWSCost Optimization in AWS
Cost Optimization in AWS
AWS User Group Bengaluru1.2K views

Recently uploaded(20)

Liqid: Composable CXL PreviewLiqid: Composable CXL Preview
Liqid: Composable CXL Preview
CXL Forum118 views
The Research Portal of Catalonia: Growing more (information) & more (services)The Research Portal of Catalonia: Growing more (information) & more (services)
The Research Portal of Catalonia: Growing more (information) & more (services)
CSUC - Consorci de Serveis Universitaris de Catalunya51 views
Web Dev - 1 PPT.pdfWeb Dev - 1 PPT.pdf
Web Dev - 1 PPT.pdf
gdsczhcet48 views
ThroughputThroughput
Throughput
Moisés Armani Ramírez28 views

Success story of migrating entire infrastructure from AWS Singapore to AWS Mumbai

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. BENGALURU
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Success story of migrating entire infrastructure from AWS Singapore to AWS Mumbai Pranesh Vittal CG, Database Architect, Medlife.com | 6th Oct 2018.
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What is Medlife.com?
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. When did we come into existence? First Order Delivered – May 2015 First Production Deployment – May 2015
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Growth Story
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Growth Story:
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Growth Story:
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Story
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Story: Stringent Laws
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Story: AWS Mumbai is cheaper than AWS Singapore.
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Story: Stay closer to the users.
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Story: Aggressive Marketing in the form of TVC, Online Marketing, Social Media Marketing.
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Story: • Availability of the required services in the target region. • An opportunity to implement best practices. • Expiry of Reserved Instances.
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Planning Story
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Technology stack at Medlife.com
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Planning Story: • Program Duration : 2 Months. • VPC Peering between the two regions. • Segregating Automated & Manual tasks. • Scarce documentation available on this topic.
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Planning Story (Continued): • See yourself transition from unknown-unknowns to known-knowns. • No half-hearted attempts. • Keep the stake holders informed about what to expect, the risks, the timelines, the additional costs etc… • Nurture a good team with mix of DevOps, Development, QA Teams. • Plan well in advance for any time-critical tasks like data sync.
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Planning Story (Continued): • Prefer DNS names over IP values. • Review AWS limits of the target region to avoid last minute surprises. • Practice with smaller instance type during automation tests. • Always have a good rollback plan in place in case of unforeseen errors. • Make best use of Business or Enterprise support.
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Execution Story
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Execution Story on the D-Day: • No major release before the migration. • Enough rest time for the core migration team. • Don’t engage the whole team for the migration. • Have a positive mindset.
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Execution Story on the D-Day (Continued): • Blue-Green deployment using Terraform, Jenkins, Chef • Once all the required infrastructure was ready.  Switch the Primary MongoDB replica set member from Singapore to Mumbai region.  Change the Route53 rules from Singapore to Mumbai region.  Migrate the services that required manual intervention.
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.