SlideShare a Scribd company logo
1 of 38
Download to read offline
What makes me to migrate entire VPC

JAWS-UG Architecture / JAWS-UG Systems Administrators

Naomi Yamasaki

AWS SAMURAI 2015 

JAWS-UG Architecture 

JAWS-UG System Administrators 

Naomi Yamasaki



Infrastructure Engineer

Digital Headquarters

Consumers CO-OP Sapporo
@nao_spon

I ♡

Route53
 IAM
 Organizations

Why do I migrate entire VPC?

We are going to AWS All in!!

● 190 Systems, 650 Servers at Datacenter

● Migrate with CloudEndure Migration

● Think CloudFirst for new systems

I love AWS Organizations

● Control accounts, service and user role

○ Control Tower

○ SCP

○ OU

○ AWS SSO

● Standardize environments and Policy

○ CloudFormation Stack Sets

○ AWS Security Hub

○ AWS Config

Account designing

● Basically, 3 accounts for 1 system

○ Separate accounts for development, staging, production

○ Some of them have fewer accounts for some reason

● Network

○ Each VPCs are connected with Transit Gateway 

○ AWS and Datacenter is connected with Direct Connect

Increasing AWS accounts

Migrated systems accounts: 59
New systems accounts: 67
Other accounts: 46
Why do I migrate entire VPC?

There are 3 accounts created before 2020

● They created before we started using AWS in earnest

● There was intended to be a small start at the time

● We want to put these accounts in Organizations too.

Why we include those accounts in AWS Organizations

Not under the control of Organizations means configure these settings individual

○ Control accounts, service and user role 

■ Control Tower

■ SCP

■ OU

■ AWS SSO

○ Standardize environments and Policy 

■ CloudFormation Stack Sets 

■ AWS Security Hub 

■ AWS Config

Most effect and wanted things

Most effect and wanted things

Problems in attaching to Transit Gateway

Problems in attaching to Transit Gateway

● Duplicated network segment

● Too much big CIDR blocks for VPC

We decided to migrate VPC to another account

● Prefer

○ Separate accounts for each environments

○ Separate frontend and backend system’s resources being
together

○ Less confusing than changing the current environment.

● Not prefer

○ Minimize the VPCs CIDR blocks

○ Change current go live production environment

Before

After

Migration schedule

1st: Staging environment

2nd: Production environment

3rd: Develop environment

The most difficult part of the migration process was...

Aurora migration





Which method to choose for DB migration?

● Prefer simple and easy way

● Make it easy to create a replication environment

● Binary log replication seemed to be a pain to configure

● DMS is looks like easy way



Which method to choose for DB migration?

● Prefer simple and easy way

● Make it easy to create a replication environment

● Binary log replication seemed to be a pain to configure

● DMS is looks like easy way♡



Not easy way...

Traps in DMS

● Defaults, unique keys, comments were disappear 

and the number of int digits had changed

● Replication was failed on Out Of Memory 

in nighttime batch.

Nighttime batch with DMS to be a nightmare batch

● After the nightmare batch, failed replication is replicated little
by little

● I tried scaled up maximum the DMS replication instance, but
nightmare batch made me nightmare…

● Out Of Memory with dms.r5.24xlarge: 96vCPUs, 768GiB
memory



We gave up on using DMS

● 1 week left to the staging environment switchover

● 3 weeks left to production environment switchover

● We don't want to take a different approach to switchover each
staging and production environment

● We had no time to try Binary log replication.

I couldn't say “Let’s do it!” anymore...

How can we resolve this issue?

● The service is stopped at 2:00 to 4:00 AM due to nighttime
batch,

so we can take down time at that time.

● We have a time to shift for the nighttime batches.

● We decided to sharing DB snapshots and restore from

● It was the best way for us at that time

Another issue with AWS KMS key

DB snapshot cannot be shared to another account 

when using default aws/rds KMS key to encrypt the database

How to resolve it?

● Work at the current account

○ Create Customer managed key on KMS

○ Put permissions to IAM User or Role on Key Policy

○ Create DB snapshot

○ Copy DB snapshot and choose the KMS Key

○ Share the copied DB snapshot to new account

● Work at the new account

○ Copy the shared DB snapshot and choose KMS Key as ‘aws/rds’

○ Create Aurora cluster from copied DB snapshot

CloudFormation issues

● There were manually created resources

● Some resources were created with CloudFormation, but some
of them manually modified after all

CloudFormation issues

● I want to use the same templates for each staging, production
and development environments

● I had to rewrite the all of the templates for import resources
into CloudFormation stack, 

so I re-creating everything to new.

CloudFormation vs CDK

● Need low context description 

when I try to accurately resource settings in detail.

● I'm more familiar with YAML.

● Using describe commands by AWS CLI

● Mappings like a variable

How did I create CloudFormation templates

● 1 templates for 1 resource

● I created: 

○ Staging environment: 44 templates

○ Production environment: 60 templates

● Just copy templates and change the Mappings value

How many CloudFormation templates I created

We’ve done it!!

● There was no big trouble.

● Also no big problems in service delivery after switched

● Development environment migration will be postponed until the
major upcoming release have done

What I learned...

● Ensure good network design.

● Don't create a VPC with too large CIDR block

● DMS will match if there is not a large amount of processing at
once

● Understand what your database doing

● Choose the best migration method as my DB

● Infrastructure as Code is soooooooooooo important!

The best way is sometimes 

different from the best practice



2 another accounts are left!!

Again?!

More Related Content

What's hot

Serverless Apps with Open Whisk
Serverless Apps with Open Whisk Serverless Apps with Open Whisk
Serverless Apps with Open Whisk Dev_Events
 
Moaid Hathot: Dapr the glue to your microservices - Architecture Next 20
Moaid Hathot: Dapr  the glue to your microservices - Architecture Next 20Moaid Hathot: Dapr  the glue to your microservices - Architecture Next 20
Moaid Hathot: Dapr the glue to your microservices - Architecture Next 20CodeValue
 
Writing less code with Serverless on AWS at FrOSCon 2021
Writing less code with Serverless on AWS at FrOSCon 2021Writing less code with Serverless on AWS at FrOSCon 2021
Writing less code with Serverless on AWS at FrOSCon 2021Vadym Kazulkin
 
Streams and serverless at DAZN
Streams and serverless at DAZNStreams and serverless at DAZN
Streams and serverless at DAZNYan Cui
 
Build a JIRA Server Add-on as a Microservice - You Can Do It!
Build a JIRA Server Add-on as a Microservice - You Can Do It!Build a JIRA Server Add-on as a Microservice - You Can Do It!
Build a JIRA Server Add-on as a Microservice - You Can Do It!Atlassian
 
Adapting Java for the Serverless World at JUG Barcelona
Adapting Java for the Serverless World at JUG BarcelonaAdapting Java for the Serverless World at JUG Barcelona
Adapting Java for the Serverless World at JUG BarcelonaVadym Kazulkin
 
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...OpenWhisk
 
DevOps and AWS - Code PaLOUsa 2017
DevOps and AWS  - Code PaLOUsa 2017DevOps and AWS  - Code PaLOUsa 2017
DevOps and AWS - Code PaLOUsa 2017James Strong
 
Building a PaaS with Docker and AWS
Building a PaaS with Docker and AWSBuilding a PaaS with Docker and AWS
Building a PaaS with Docker and AWSAmazon Web Services
 
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase ProductivityAWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase ProductivityAWS User Group - Thailand
 
Platform Engineering with the CDK
Platform Engineering with the CDKPlatform Engineering with the CDK
Platform Engineering with the CDKSander Knape
 
Thinking after that disaster in cloud
Thinking after that disaster in cloudThinking after that disaster in cloud
Thinking after that disaster in cloudAmazon Web Services
 
(DVO204) Monitoring Strategies: Finding Signal in the Noise
(DVO204) Monitoring Strategies: Finding Signal in the Noise(DVO204) Monitoring Strategies: Finding Signal in the Noise
(DVO204) Monitoring Strategies: Finding Signal in the NoiseAmazon Web Services
 
Netflix Cloud Architecture and Open Source
Netflix Cloud Architecture and Open SourceNetflix Cloud Architecture and Open Source
Netflix Cloud Architecture and Open Sourceaspyker
 
Infrastructure as Code and AWS CDK
Infrastructure as Code and AWS CDKInfrastructure as Code and AWS CDK
Infrastructure as Code and AWS CDKSupratipBanerjee
 
Présentation D2SI AWS Summit Paris 2014
Présentation D2SI AWS Summit Paris 2014Présentation D2SI AWS Summit Paris 2014
Présentation D2SI AWS Summit Paris 2014Devoteam Revolve
 
Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)
Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)
Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)Seven Peaks Speaks
 

What's hot (20)

Serverless Apps with Open Whisk
Serverless Apps with Open Whisk Serverless Apps with Open Whisk
Serverless Apps with Open Whisk
 
Moaid Hathot: Dapr the glue to your microservices - Architecture Next 20
Moaid Hathot: Dapr  the glue to your microservices - Architecture Next 20Moaid Hathot: Dapr  the glue to your microservices - Architecture Next 20
Moaid Hathot: Dapr the glue to your microservices - Architecture Next 20
 
Writing less code with Serverless on AWS at FrOSCon 2021
Writing less code with Serverless on AWS at FrOSCon 2021Writing less code with Serverless on AWS at FrOSCon 2021
Writing less code with Serverless on AWS at FrOSCon 2021
 
Streams and serverless at DAZN
Streams and serverless at DAZNStreams and serverless at DAZN
Streams and serverless at DAZN
 
Build a JIRA Server Add-on as a Microservice - You Can Do It!
Build a JIRA Server Add-on as a Microservice - You Can Do It!Build a JIRA Server Add-on as a Microservice - You Can Do It!
Build a JIRA Server Add-on as a Microservice - You Can Do It!
 
Adapting Java for the Serverless World at JUG Barcelona
Adapting Java for the Serverless World at JUG BarcelonaAdapting Java for the Serverless World at JUG Barcelona
Adapting Java for the Serverless World at JUG Barcelona
 
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
 
DevOps and AWS - Code PaLOUsa 2017
DevOps and AWS  - Code PaLOUsa 2017DevOps and AWS  - Code PaLOUsa 2017
DevOps and AWS - Code PaLOUsa 2017
 
Building a PaaS with Docker and AWS
Building a PaaS with Docker and AWSBuilding a PaaS with Docker and AWS
Building a PaaS with Docker and AWS
 
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase ProductivityAWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
 
Platform Engineering with the CDK
Platform Engineering with the CDKPlatform Engineering with the CDK
Platform Engineering with the CDK
 
Practical Cloud
Practical CloudPractical Cloud
Practical Cloud
 
Thinking after that disaster in cloud
Thinking after that disaster in cloudThinking after that disaster in cloud
Thinking after that disaster in cloud
 
(DVO204) Monitoring Strategies: Finding Signal in the Noise
(DVO204) Monitoring Strategies: Finding Signal in the Noise(DVO204) Monitoring Strategies: Finding Signal in the Noise
(DVO204) Monitoring Strategies: Finding Signal in the Noise
 
Netflix Cloud Architecture and Open Source
Netflix Cloud Architecture and Open SourceNetflix Cloud Architecture and Open Source
Netflix Cloud Architecture and Open Source
 
IaC on AWS Cloud
IaC on AWS CloudIaC on AWS Cloud
IaC on AWS Cloud
 
Infrastructure as Code and AWS CDK
Infrastructure as Code and AWS CDKInfrastructure as Code and AWS CDK
Infrastructure as Code and AWS CDK
 
Serverless
ServerlessServerless
Serverless
 
Présentation D2SI AWS Summit Paris 2014
Présentation D2SI AWS Summit Paris 2014Présentation D2SI AWS Summit Paris 2014
Présentation D2SI AWS Summit Paris 2014
 
Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)
Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)
Structuring node.js projects - Seven Peaks Software (Node.JS Meetup 18 nov 2021)
 

Similar to Why this company migrated their entire VPC and 190 systems to AWS

Serverless Compose vs hurtownia danych
Serverless Compose vs hurtownia danychServerless Compose vs hurtownia danych
Serverless Compose vs hurtownia danychThe Software House
 
Crio.do - Deployment on AWS Masterclass
Crio.do - Deployment on AWS MasterclassCrio.do - Deployment on AWS Masterclass
Crio.do - Deployment on AWS MasterclassDhaval Nagar
 
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutes
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutesDruid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutes
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutesShivji Kumar Jha
 
Introduction to amazon web services for developers
Introduction to amazon web services for developersIntroduction to amazon web services for developers
Introduction to amazon web services for developersCiklum Ukraine
 
Automating using Ansible
Automating using AnsibleAutomating using Ansible
Automating using AnsibleAlok Patra
 
Truemotion Adventures in Containerization
Truemotion Adventures in ContainerizationTruemotion Adventures in Containerization
Truemotion Adventures in ContainerizationRyan Hunter
 
What cloud changes the developer
What cloud changes the developerWhat cloud changes the developer
What cloud changes the developerSimon Su
 
Netflix Container Scheduling and Execution - QCon New York 2016
Netflix Container Scheduling and Execution - QCon New York 2016Netflix Container Scheduling and Execution - QCon New York 2016
Netflix Container Scheduling and Execution - QCon New York 2016aspyker
 
Scheduling a fuller house - Talk at QCon NY 2016
Scheduling a fuller house - Talk at QCon NY 2016Scheduling a fuller house - Talk at QCon NY 2016
Scheduling a fuller house - Talk at QCon NY 2016Sharma Podila
 
The Problem is Data: Gwen Shapira, Confluent, Serverless NYC 2018
The Problem is Data: Gwen Shapira, Confluent, Serverless NYC 2018The Problem is Data: Gwen Shapira, Confluent, Serverless NYC 2018
The Problem is Data: Gwen Shapira, Confluent, Serverless NYC 2018iguazio
 
kranonit S06E01 Игорь Цинько: High load
kranonit S06E01 Игорь Цинько: High loadkranonit S06E01 Игорь Цинько: High load
kranonit S06E01 Игорь Цинько: High loadKrivoy Rog IT Community
 
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...AWS User Group Kochi
 
AWS CSA Associate 07-07
AWS CSA Associate 07-07AWS CSA Associate 07-07
AWS CSA Associate 07-07Heitor Vital
 
Sql Start! 2020 - SQL Server Lift & Shift su Azure
Sql Start! 2020 - SQL Server Lift & Shift su AzureSql Start! 2020 - SQL Server Lift & Shift su Azure
Sql Start! 2020 - SQL Server Lift & Shift su AzureMarco Obinu
 
Accelerate Your Development: CI/CD using AWS and Serverless
Accelerate Your Development: CI/CD using AWS and ServerlessAccelerate Your Development: CI/CD using AWS and Serverless
Accelerate Your Development: CI/CD using AWS and ServerlessAaronLieberman5
 
Working with microservices and Amazon ECS at Airtime
Working with microservices and Amazon ECS at AirtimeWorking with microservices and Amazon ECS at Airtime
Working with microservices and Amazon ECS at AirtimeAmazon Web Services
 
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...Xiaoman DONG
 

Similar to Why this company migrated their entire VPC and 190 systems to AWS (20)

Serverless Compose vs hurtownia danych
Serverless Compose vs hurtownia danychServerless Compose vs hurtownia danych
Serverless Compose vs hurtownia danych
 
Crio.do - Deployment on AWS Masterclass
Crio.do - Deployment on AWS MasterclassCrio.do - Deployment on AWS Masterclass
Crio.do - Deployment on AWS Masterclass
 
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutes
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutesDruid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutes
Druid Summit 2023 : Changing Druid Ingestion from 3 hours to 5 minutes
 
Introduction to amazon web services for developers
Introduction to amazon web services for developersIntroduction to amazon web services for developers
Introduction to amazon web services for developers
 
Automating using Ansible
Automating using AnsibleAutomating using Ansible
Automating using Ansible
 
Truemotion Adventures in Containerization
Truemotion Adventures in ContainerizationTruemotion Adventures in Containerization
Truemotion Adventures in Containerization
 
What cloud changes the developer
What cloud changes the developerWhat cloud changes the developer
What cloud changes the developer
 
AWS User Group October
AWS User Group OctoberAWS User Group October
AWS User Group October
 
Netflix Container Scheduling and Execution - QCon New York 2016
Netflix Container Scheduling and Execution - QCon New York 2016Netflix Container Scheduling and Execution - QCon New York 2016
Netflix Container Scheduling and Execution - QCon New York 2016
 
Scheduling a fuller house - Talk at QCon NY 2016
Scheduling a fuller house - Talk at QCon NY 2016Scheduling a fuller house - Talk at QCon NY 2016
Scheduling a fuller house - Talk at QCon NY 2016
 
The Problem is Data: Gwen Shapira, Confluent, Serverless NYC 2018
The Problem is Data: Gwen Shapira, Confluent, Serverless NYC 2018The Problem is Data: Gwen Shapira, Confluent, Serverless NYC 2018
The Problem is Data: Gwen Shapira, Confluent, Serverless NYC 2018
 
kranonit S06E01 Игорь Цинько: High load
kranonit S06E01 Игорь Цинько: High loadkranonit S06E01 Игорь Цинько: High load
kranonit S06E01 Игорь Цинько: High load
 
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
 
Serverless
ServerlessServerless
Serverless
 
AWS CSA Associate 07-07
AWS CSA Associate 07-07AWS CSA Associate 07-07
AWS CSA Associate 07-07
 
Sql Start! 2020 - SQL Server Lift & Shift su Azure
Sql Start! 2020 - SQL Server Lift & Shift su AzureSql Start! 2020 - SQL Server Lift & Shift su Azure
Sql Start! 2020 - SQL Server Lift & Shift su Azure
 
What is Cloud Computing?
What is Cloud Computing?What is Cloud Computing?
What is Cloud Computing?
 
Accelerate Your Development: CI/CD using AWS and Serverless
Accelerate Your Development: CI/CD using AWS and ServerlessAccelerate Your Development: CI/CD using AWS and Serverless
Accelerate Your Development: CI/CD using AWS and Serverless
 
Working with microservices and Amazon ECS at Airtime
Working with microservices and Amazon ECS at AirtimeWorking with microservices and Amazon ECS at Airtime
Working with microservices and Amazon ECS at Airtime
 
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
 

More from Naomi Yamasaki

JAWS DAYS 2024 E-3 ランチにまつわるちょっといい話 〜給食がない町の小中学生に温かい昼食を〜
JAWS DAYS 2024 E-3 ランチにまつわるちょっといい話 〜給食がない町の小中学生に温かい昼食を〜JAWS DAYS 2024 E-3 ランチにまつわるちょっといい話 〜給食がない町の小中学生に温かい昼食を〜
JAWS DAYS 2024 E-3 ランチにまつわるちょっといい話 〜給食がない町の小中学生に温かい昼食を〜Naomi Yamasaki
 
「やってみなはれ」がつなげるアウトプットループ
「やってみなはれ」がつなげるアウトプットループ「やってみなはれ」がつなげるアウトプットループ
「やってみなはれ」がつなげるアウトプットループNaomi Yamasaki
 
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録Naomi Yamasaki
 
20170111above the cloud_vol2
20170111above the cloud_vol220170111above the cloud_vol2
20170111above the cloud_vol2Naomi Yamasaki
 
20160404 jaws ugアーキテクチャ専門支部ハイブリッドクラウド分科会#4
20160404 jaws ugアーキテクチャ専門支部ハイブリッドクラウド分科会#420160404 jaws ugアーキテクチャ専門支部ハイブリッドクラウド分科会#4
20160404 jaws ugアーキテクチャ専門支部ハイブリッドクラウド分科会#4Naomi Yamasaki
 
20150914 jaws ug宮崎 #jawsug
20150914 jaws ug宮崎 #jawsug20150914 jaws ug宮崎 #jawsug
20150914 jaws ug宮崎 #jawsugNaomi Yamasaki
 
JAWS-UG関西女子会「はじめて女子応援企画!事例から学ぶもくもく&もぐもぐ会」 LT資料 #jawsug
JAWS-UG関西女子会「はじめて女子応援企画!事例から学ぶもくもく&もぐもぐ会」 LT資料 #jawsugJAWS-UG関西女子会「はじめて女子応援企画!事例から学ぶもくもく&もぐもぐ会」 LT資料 #jawsug
JAWS-UG関西女子会「はじめて女子応援企画!事例から学ぶもくもく&もぐもぐ会」 LT資料 #jawsugNaomi Yamasaki
 
簡単!お手軽!!RDSでDR環境構築 - JAWS DAYS 2015
簡単!お手軽!!RDSでDR環境構築 - JAWS DAYS 2015簡単!お手軽!!RDSでDR環境構築 - JAWS DAYS 2015
簡単!お手軽!!RDSでDR環境構築 - JAWS DAYS 2015Naomi Yamasaki
 

More from Naomi Yamasaki (8)

JAWS DAYS 2024 E-3 ランチにまつわるちょっといい話 〜給食がない町の小中学生に温かい昼食を〜
JAWS DAYS 2024 E-3 ランチにまつわるちょっといい話 〜給食がない町の小中学生に温かい昼食を〜JAWS DAYS 2024 E-3 ランチにまつわるちょっといい話 〜給食がない町の小中学生に温かい昼食を〜
JAWS DAYS 2024 E-3 ランチにまつわるちょっといい話 〜給食がない町の小中学生に温かい昼食を〜
 
「やってみなはれ」がつなげるアウトプットループ
「やってみなはれ」がつなげるアウトプットループ「やってみなはれ」がつなげるアウトプットループ
「やってみなはれ」がつなげるアウトプットループ
 
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録
20170311 jawsdays 新訳 とあるアーキテクトのクラウドデザインパターン目録
 
20170111above the cloud_vol2
20170111above the cloud_vol220170111above the cloud_vol2
20170111above the cloud_vol2
 
20160404 jaws ugアーキテクチャ専門支部ハイブリッドクラウド分科会#4
20160404 jaws ugアーキテクチャ専門支部ハイブリッドクラウド分科会#420160404 jaws ugアーキテクチャ専門支部ハイブリッドクラウド分科会#4
20160404 jaws ugアーキテクチャ専門支部ハイブリッドクラウド分科会#4
 
20150914 jaws ug宮崎 #jawsug
20150914 jaws ug宮崎 #jawsug20150914 jaws ug宮崎 #jawsug
20150914 jaws ug宮崎 #jawsug
 
JAWS-UG関西女子会「はじめて女子応援企画!事例から学ぶもくもく&もぐもぐ会」 LT資料 #jawsug
JAWS-UG関西女子会「はじめて女子応援企画!事例から学ぶもくもく&もぐもぐ会」 LT資料 #jawsugJAWS-UG関西女子会「はじめて女子応援企画!事例から学ぶもくもく&もぐもぐ会」 LT資料 #jawsug
JAWS-UG関西女子会「はじめて女子応援企画!事例から学ぶもくもく&もぐもぐ会」 LT資料 #jawsug
 
簡単!お手軽!!RDSでDR環境構築 - JAWS DAYS 2015
簡単!お手軽!!RDSでDR環境構築 - JAWS DAYS 2015簡単!お手軽!!RDSでDR環境構築 - JAWS DAYS 2015
簡単!お手軽!!RDSでDR環境構築 - JAWS DAYS 2015
 

Recently uploaded

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Why this company migrated their entire VPC and 190 systems to AWS

  • 1. What makes me to migrate entire VPC
 JAWS-UG Architecture / JAWS-UG Systems Administrators
 Naomi Yamasaki

  • 2. AWS SAMURAI 2015 
 JAWS-UG Architecture 
 JAWS-UG System Administrators 
 Naomi Yamasaki
 
 Infrastructure Engineer
 Digital Headquarters
 Consumers CO-OP Sapporo @nao_spon
 I ♡
 Route53
 IAM
 Organizations

  • 3. Why do I migrate entire VPC?

  • 4. We are going to AWS All in!!
 ● 190 Systems, 650 Servers at Datacenter
 ● Migrate with CloudEndure Migration
 ● Think CloudFirst for new systems

  • 5. I love AWS Organizations
 ● Control accounts, service and user role
 ○ Control Tower
 ○ SCP
 ○ OU
 ○ AWS SSO
 ● Standardize environments and Policy
 ○ CloudFormation Stack Sets
 ○ AWS Security Hub
 ○ AWS Config

  • 6. Account designing
 ● Basically, 3 accounts for 1 system
 ○ Separate accounts for development, staging, production
 ○ Some of them have fewer accounts for some reason
 ● Network
 ○ Each VPCs are connected with Transit Gateway 
 ○ AWS and Datacenter is connected with Direct Connect

  • 7. Increasing AWS accounts
 Migrated systems accounts: 59 New systems accounts: 67 Other accounts: 46
  • 8. Why do I migrate entire VPC?

  • 9. There are 3 accounts created before 2020
 ● They created before we started using AWS in earnest
 ● There was intended to be a small start at the time
 ● We want to put these accounts in Organizations too.

  • 10. Why we include those accounts in AWS Organizations
 Not under the control of Organizations means configure these settings individual
 ○ Control accounts, service and user role 
 ■ Control Tower
 ■ SCP
 ■ OU
 ■ AWS SSO
 ○ Standardize environments and Policy 
 ■ CloudFormation Stack Sets 
 ■ AWS Security Hub 
 ■ AWS Config

  • 11. Most effect and wanted things

  • 12. Most effect and wanted things

  • 13. Problems in attaching to Transit Gateway

  • 14. Problems in attaching to Transit Gateway
 ● Duplicated network segment
 ● Too much big CIDR blocks for VPC

  • 15. We decided to migrate VPC to another account
 ● Prefer
 ○ Separate accounts for each environments
 ○ Separate frontend and backend system’s resources being together
 ○ Less confusing than changing the current environment.
 ● Not prefer
 ○ Minimize the VPCs CIDR blocks
 ○ Change current go live production environment

  • 18. Migration schedule
 1st: Staging environment
 2nd: Production environment
 3rd: Develop environment

  • 19. The most difficult part of the migration process was...
 Aurora migration
 
 

  • 20. Which method to choose for DB migration?
 ● Prefer simple and easy way
 ● Make it easy to create a replication environment
 ● Binary log replication seemed to be a pain to configure
 ● DMS is looks like easy way
 

  • 21. Which method to choose for DB migration?
 ● Prefer simple and easy way
 ● Make it easy to create a replication environment
 ● Binary log replication seemed to be a pain to configure
 ● DMS is looks like easy way♡
 

  • 23. Traps in DMS
 ● Defaults, unique keys, comments were disappear 
 and the number of int digits had changed
 ● Replication was failed on Out Of Memory 
 in nighttime batch.

  • 24. Nighttime batch with DMS to be a nightmare batch
 ● After the nightmare batch, failed replication is replicated little by little
 ● I tried scaled up maximum the DMS replication instance, but nightmare batch made me nightmare…
 ● Out Of Memory with dms.r5.24xlarge: 96vCPUs, 768GiB memory
 

  • 25. We gave up on using DMS
 ● 1 week left to the staging environment switchover
 ● 3 weeks left to production environment switchover
 ● We don't want to take a different approach to switchover each staging and production environment
 ● We had no time to try Binary log replication.

  • 26. I couldn't say “Let’s do it!” anymore...

  • 27. How can we resolve this issue?
 ● The service is stopped at 2:00 to 4:00 AM due to nighttime batch,
 so we can take down time at that time.
 ● We have a time to shift for the nighttime batches.
 ● We decided to sharing DB snapshots and restore from
 ● It was the best way for us at that time

  • 28. Another issue with AWS KMS key
 DB snapshot cannot be shared to another account 
 when using default aws/rds KMS key to encrypt the database

  • 29. How to resolve it?
 ● Work at the current account
 ○ Create Customer managed key on KMS
 ○ Put permissions to IAM User or Role on Key Policy
 ○ Create DB snapshot
 ○ Copy DB snapshot and choose the KMS Key
 ○ Share the copied DB snapshot to new account
 ● Work at the new account
 ○ Copy the shared DB snapshot and choose KMS Key as ‘aws/rds’
 ○ Create Aurora cluster from copied DB snapshot

  • 30. CloudFormation issues
 ● There were manually created resources
 ● Some resources were created with CloudFormation, but some of them manually modified after all

  • 31. CloudFormation issues
 ● I want to use the same templates for each staging, production and development environments
 ● I had to rewrite the all of the templates for import resources into CloudFormation stack, 
 so I re-creating everything to new.

  • 32. CloudFormation vs CDK
 ● Need low context description 
 when I try to accurately resource settings in detail.
 ● I'm more familiar with YAML.

  • 33. ● Using describe commands by AWS CLI
 ● Mappings like a variable
 How did I create CloudFormation templates

  • 34. ● 1 templates for 1 resource
 ● I created: 
 ○ Staging environment: 44 templates
 ○ Production environment: 60 templates
 ● Just copy templates and change the Mappings value
 How many CloudFormation templates I created

  • 35. We’ve done it!!
 ● There was no big trouble.
 ● Also no big problems in service delivery after switched
 ● Development environment migration will be postponed until the major upcoming release have done

  • 36. What I learned...
 ● Ensure good network design.
 ● Don't create a VPC with too large CIDR block
 ● DMS will match if there is not a large amount of processing at once
 ● Understand what your database doing
 ● Choose the best migration method as my DB
 ● Infrastructure as Code is soooooooooooo important!

  • 37. The best way is sometimes 
 different from the best practice
 

  • 38. 2 another accounts are left!!
 Again?!