SlideShare a Scribd company logo
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Executing a Large Scale Migration
to AWS
Michael Sciscenti
Sr Product Manager
AWS Migration Hub
E N T 3 3 7
Diego Dalmolin
Solutions Architect
AWS/Partner Program
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
• Migration journey
• Migration automation
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Migrating your portfolio
Discover Plan Design Migrate Optimize
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ASSESSMENT READINESS & PLANNING (Mobilization) APPLICATION MIGRATIONS
Migration journey
Migration Readiness
Assessment (MRA)
Migration (at scale)Migration mobilization
Discover
Design
Build
Integrate
Cutover
Validate
Operating
model
Landing
zone
Security &
compliance
Discovery
& planning
Skills/CoE
Migration
expertise
Migration
business case
Migration
plan
Operating
model
Directional
business case
Rapid
discovery
1-2 months 4-6 months
Migration factory
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application migrations
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of migration automation
Repeatability
Move lots of servers and
databases with speed
Traceability
No effort status tracking and
dashboard reporting
Test coverage
Cutover tests can be
repurposed after migration for
monitoring
Benefits of migration
automation
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Migration tracking challenges
No easy way to
track migrations
Existing tools don’t
track migrations by
application
Workload migrations
require different
migration tools
Migration tracking
challenges
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Migration Hub integrated tools
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tools for automating your migration journey
Business case Discovery &
planning
Dependency
mapping
Workload &
data migration
ValidationInventory
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automation examples
Discover Plan Design Migrate Optimize
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automation architecture example
Database server
App server
Corporate datacenter AWS Cloud
Replicated instance
Target
DB instance
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automation architecture example
Database Server
Corporate datacenter AWS Cloud
Replicated Instance
Target
DB Instance
App Server
App Server
App Server
App Server
App Server
App Server
App server
App server
Database Server
Database Server
Database Server
Database Server
Database Server
Database Server
Database server
Database server
Replicated Instance
Replicated Instance
Replicated Instance
Replicated Instance
Replicated instance
Replicated instance
Target
DB InstanceTarget
DB InstanceTarget
DB InstanceTarget
DB Instance
Target
DB instance
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automation architecture example - Discovery
Database server
App server
Corporate datacenter AWS Cloud
Application
Discovery
plugin
Scripts
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Discovery data in Athena:
Analyze dependencies (query 1)
WITH valid_inbound_ips (source_ip) AS
(SELECT DISTINCT source_ip FROM inbound_connection_agent ),
outer_inbound_query AS (
SELECT agent_id,
source_ip,
destination_ip,
destination_port,
COUNT(*) frequency
FROM inbound_connection_agent
WHERE ((ip_version = 'IPv4')
AND (destination_ip IN (SELECT * FROM valid_inbound_ips )))
GROUP BY agent_id, source_ip, destination_ip, destination_port
)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Analyze dependencies (query 2)
SELECT
source_ip Source,
destination_port Port,
destination_ip Target,
Frequency,
hin1.host_name “Source Host Name”,
hin2.host_name “Destination Host Name”
FROM outer_inbound_query o, hostname_ip_helper hin1, hostname_ip_helper hin2
WHERE
((o.source_ip = hin1.ip_address)
AND (o.destination_ip = hin2.ip_address))
ORDER BY Frequency DESC
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tag servers in Application Discovery Service
SELECT
host_name,
dports.destination_ip,
dports.destination_port,
ianap.service_name
FROM inbound_connection_agent dports
JOIN iana_service_ports_import ianap ON (dports.destination_port =
ianap.port_number)
JOIN hostname_ip_helper hip ON hip.ip_address = dports.destination_ip
WHERE (ianap.transport_protocol = 'tcp')
GROUP BY
host_name,
dports.destination_ip,
dports.destination_port,
ianap.service_name
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automation architecture example
Database server
App server
Corporate datacenter AWS Cloud
AMI
Replicated instance
Target
DB instance
Database migration
workflow/job
SNS topic
Lambda function
SQS queue
Post-Mig
script
Client
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DB instance
standby
App
Target architecture
VPC
Public subnet
AWS Cloud
Availability Zone 1
Auto Scaling group
AWS Region
App
Public subnet
Availability Zone 2
RDS Multi-AZ
DB instance
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
instance_metadata = urllib.urlopen("http://169.254.169.254/latest/dynamic/instance-
identity/document/imageId").read()
json_instance_metadata = json.loads(instance_metadata)
sns_topic = "arn:aws:sns:%s:%s:ENT319CloudEndureSNSTopic" %
((json_instance_metadata['region']),(json_instance_metadata['accountId']))
message = {"Pass": "True", "instanceId": json_instance_metadata['instanceId']}
sns_client = boto3.client('sns', region_name=json_instance_metadata['region'])
sns_response = sns_client.publish(
TopicArn = sns_topic,
Message=json.dumps(message),
Subject = 'ENT319Demo’)
Notify SNS after test
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
def lambda_handler(event, context):
logger.info(event)
json_sns_message = json.loads(event['Records'][0]['Sns']['Message'])
if json_sns_message['Pass'] != "True":
logger.error("%s did not pass post migration testing! Not creating an AMI." %
(json_sns_message['instanceId']))
else:
logger.info("%s passed post migration testing. Creating an AMI." %
(json_sns_message['instanceId']))
create_ami(json_sns_message['instanceId'])
Lambda - SNS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Auto set app status on cutover
def updateHUBstatus(applicationname, status):
"""Function to update application status on migration hub - status can be set as
'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED' """
try:
appname = boto3.client('discovery')
appID = appname.list_configurations(configurationType='APPLICATION',
filters=[{'name':'application.name',
'values':[applicationname],'condition':'EQUALS'}])['configurations']
appID = appID[0]['application.configurationId']
hub = boto3.client('mgh')
response = hub.notify_application_state(ApplicationId=appID, Status=status)
except ClientError as err:
print(err.response)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Recent SMS launches
Hourly replication Pause/resume jobs
AMI encryption Up to 16TB volume size
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS DataSync
Online transfer service that simplifies, automates, and accelerates moving data
Transfers
up to 10 Gbps
per agent
Pay as
you go
Simple data
movement to
Amazon S3 or
Amazon EFS
Secure and
reliable
transfers
Migrate active
application data to AWS
Combines the speed and reliability of network acceleration
software with the cost-effectiveness of open source tools
Transfer data for timely
in-cloud analysis
Replicate data to AWS
for business continuity
AWS
integrated
AWS
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot

Deep dive - AWS Fargate
Deep dive - AWS FargateDeep dive - AWS Fargate
Deep dive - AWS Fargate
Amazon Web Services
 
BDA310 Transcribe and Translate
BDA310 Transcribe and TranslateBDA310 Transcribe and Translate
BDA310 Transcribe and Translate
Amazon Web Services
 
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Amazon Web Services
 
Eliminate Migration Confusion: Speed Migration with Automated Tracking (ENT31...
Eliminate Migration Confusion: Speed Migration with Automated Tracking (ENT31...Eliminate Migration Confusion: Speed Migration with Automated Tracking (ENT31...
Eliminate Migration Confusion: Speed Migration with Automated Tracking (ENT31...
Amazon Web Services
 
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
Amazon Web Services
 
Improve Consistency & Governance in Cross-Account & Global Deployments (DEV34...
Improve Consistency & Governance in Cross-Account & Global Deployments (DEV34...Improve Consistency & Governance in Cross-Account & Global Deployments (DEV34...
Improve Consistency & Governance in Cross-Account & Global Deployments (DEV34...
Amazon Web Services
 
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Amazon Web Services
 
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceBDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
Amazon Web Services
 
SRV328 Designing and Implementing a Serverless Media-Processing Workflow
SRV328 Designing and Implementing a Serverless Media-Processing WorkflowSRV328 Designing and Implementing a Serverless Media-Processing Workflow
SRV328 Designing and Implementing a Serverless Media-Processing Workflow
Amazon Web Services
 
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Amazon Web Services
 
Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...
Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...
Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...
Amazon Web Services
 
Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
Amazon Web Services
 
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Amazon Web Services
 
How Intuit TurboTax Ran Entirely on AWS for 2017 Taxes (ARC307) - AWS re:Inve...
How Intuit TurboTax Ran Entirely on AWS for 2017 Taxes (ARC307) - AWS re:Inve...How Intuit TurboTax Ran Entirely on AWS for 2017 Taxes (ARC307) - AWS re:Inve...
How Intuit TurboTax Ran Entirely on AWS for 2017 Taxes (ARC307) - AWS re:Inve...
Amazon Web Services
 
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
Amazon Web Services
 
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
Amazon Web Services
 
Don’t Wait Until Tomorrow: From Batch to Streaming (ANT360) - AWS re:Invent 2018
Don’t Wait Until Tomorrow: From Batch to Streaming (ANT360) - AWS re:Invent 2018Don’t Wait Until Tomorrow: From Batch to Streaming (ANT360) - AWS re:Invent 2018
Don’t Wait Until Tomorrow: From Batch to Streaming (ANT360) - AWS re:Invent 2018
Amazon Web Services
 
SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
 SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
Amazon Web Services
 
Re-Architecting a Banking Application for Scale and Reliability (SRV220-R1) -...
Re-Architecting a Banking Application for Scale and Reliability (SRV220-R1) -...Re-Architecting a Banking Application for Scale and Reliability (SRV220-R1) -...
Re-Architecting a Banking Application for Scale and Reliability (SRV220-R1) -...
Amazon Web Services
 
Analyze your Data Lake, Fast @ Any Scale - AWS Online Tech Talks
Analyze your Data Lake, Fast @ Any Scale - AWS Online Tech TalksAnalyze your Data Lake, Fast @ Any Scale - AWS Online Tech Talks
Analyze your Data Lake, Fast @ Any Scale - AWS Online Tech Talks
Amazon Web Services
 

What's hot (20)

Deep dive - AWS Fargate
Deep dive - AWS FargateDeep dive - AWS Fargate
Deep dive - AWS Fargate
 
BDA310 Transcribe and Translate
BDA310 Transcribe and TranslateBDA310 Transcribe and Translate
BDA310 Transcribe and Translate
 
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
Moving to DevOps the Amazon Way (DEV210-R1) - AWS re:Invent 2018
 
Eliminate Migration Confusion: Speed Migration with Automated Tracking (ENT31...
Eliminate Migration Confusion: Speed Migration with Automated Tracking (ENT31...Eliminate Migration Confusion: Speed Migration with Automated Tracking (ENT31...
Eliminate Migration Confusion: Speed Migration with Automated Tracking (ENT31...
 
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
Analyze Amazon CloudFront and Lambda@Edge Logs to Improve Customer Experience...
 
Improve Consistency & Governance in Cross-Account & Global Deployments (DEV34...
Improve Consistency & Governance in Cross-Account & Global Deployments (DEV34...Improve Consistency & Governance in Cross-Account & Global Deployments (DEV34...
Improve Consistency & Governance in Cross-Account & Global Deployments (DEV34...
 
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
Building Serverless Applications with Amazon DynamoDB & AWS Lambda - Workshop...
 
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceBDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
 
SRV328 Designing and Implementing a Serverless Media-Processing Workflow
SRV328 Designing and Implementing a Serverless Media-Processing WorkflowSRV328 Designing and Implementing a Serverless Media-Processing Workflow
SRV328 Designing and Implementing a Serverless Media-Processing Workflow
 
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
 
Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...
Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...
Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...
 
Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
 
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
Save Money and Migrate Faster with Rapid Discovery and Analysis (ENT331) - AW...
 
How Intuit TurboTax Ran Entirely on AWS for 2017 Taxes (ARC307) - AWS re:Inve...
How Intuit TurboTax Ran Entirely on AWS for 2017 Taxes (ARC307) - AWS re:Inve...How Intuit TurboTax Ran Entirely on AWS for 2017 Taxes (ARC307) - AWS re:Inve...
How Intuit TurboTax Ran Entirely on AWS for 2017 Taxes (ARC307) - AWS re:Inve...
 
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
 
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
 
Don’t Wait Until Tomorrow: From Batch to Streaming (ANT360) - AWS re:Invent 2018
Don’t Wait Until Tomorrow: From Batch to Streaming (ANT360) - AWS re:Invent 2018Don’t Wait Until Tomorrow: From Batch to Streaming (ANT360) - AWS re:Invent 2018
Don’t Wait Until Tomorrow: From Batch to Streaming (ANT360) - AWS re:Invent 2018
 
SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
 SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
 
Re-Architecting a Banking Application for Scale and Reliability (SRV220-R1) -...
Re-Architecting a Banking Application for Scale and Reliability (SRV220-R1) -...Re-Architecting a Banking Application for Scale and Reliability (SRV220-R1) -...
Re-Architecting a Banking Application for Scale and Reliability (SRV220-R1) -...
 
Analyze your Data Lake, Fast @ Any Scale - AWS Online Tech Talks
Analyze your Data Lake, Fast @ Any Scale - AWS Online Tech TalksAnalyze your Data Lake, Fast @ Any Scale - AWS Online Tech Talks
Analyze your Data Lake, Fast @ Any Scale - AWS Online Tech Talks
 

Similar to Executing a Large Scale Migration to AWS (ENT337-R2) - AWS re:Invent 2018

Taking serverless to the edge
Taking serverless to the edgeTaking serverless to the edge
Taking serverless to the edge
Amazon Web Services
 
Monetize Your Mobile App with Amazon Mobile Ads (MOB311) - AWS reInvent 2018.pdf
Monetize Your Mobile App with Amazon Mobile Ads (MOB311) - AWS reInvent 2018.pdfMonetize Your Mobile App with Amazon Mobile Ads (MOB311) - AWS reInvent 2018.pdf
Monetize Your Mobile App with Amazon Mobile Ads (MOB311) - AWS reInvent 2018.pdf
Amazon Web Services
 
Meeting Enterprise Security Requirements with AWS Native Security Services (S...
Meeting Enterprise Security Requirements with AWS Native Security Services (S...Meeting Enterprise Security Requirements with AWS Native Security Services (S...
Meeting Enterprise Security Requirements with AWS Native Security Services (S...
Amazon Web Services
 
Taking Serverless to the Edge
Taking Serverless to the Edge Taking Serverless to the Edge
Taking Serverless to the Edge
Amazon Web Services
 
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Amazon Web Services
 
Serverless best practices plus design principles 20m version
Serverless   best practices plus design principles 20m versionServerless   best practices plus design principles 20m version
Serverless best practices plus design principles 20m version
Heitor Lessa
 
Making Headless Drupal Serverless
Making Headless Drupal ServerlessMaking Headless Drupal Serverless
Making Headless Drupal Serverless
Amazon Web Services
 
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
Amazon Web Services
 
Best Practices for Scalable Monitoring (ENT310-S) - AWS re:Invent 2018
Best Practices for Scalable Monitoring (ENT310-S) - AWS re:Invent 2018Best Practices for Scalable Monitoring (ENT310-S) - AWS re:Invent 2018
Best Practices for Scalable Monitoring (ENT310-S) - AWS re:Invent 2018
Amazon Web Services
 
Supercharging Applications with GraphQL and AWS AppSync
Supercharging Applications with GraphQL and AWS AppSyncSupercharging Applications with GraphQL and AWS AppSync
Supercharging Applications with GraphQL and AWS AppSync
Amazon Web Services
 
Build your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS AmplifyBuild your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS Amplify
Amazon Web Services
 
Serverless for Developers
Serverless for DevelopersServerless for Developers
Serverless for Developers
Sébastien ☁ Stormacq
 
Large Scale Migrations - Transformation Day Montreal 2018
Large Scale Migrations - Transformation Day Montreal 2018Large Scale Migrations - Transformation Day Montreal 2018
Large Scale Migrations - Transformation Day Montreal 2018
Amazon Web Services
 
Taking your Progressive Web App to the Next Level - AWS Summit Sydney 2018
Taking your Progressive Web App to the Next Level - AWS Summit Sydney 2018Taking your Progressive Web App to the Next Level - AWS Summit Sydney 2018
Taking your Progressive Web App to the Next Level - AWS Summit Sydney 2018
Amazon Web Services
 
Best Practices for Large Scale Migrations - AWS Transformation Day Boston 2018
Best Practices for Large Scale Migrations - AWS Transformation Day Boston 2018Best Practices for Large Scale Migrations - AWS Transformation Day Boston 2018
Best Practices for Large Scale Migrations - AWS Transformation Day Boston 2018
Amazon Web Services
 
善用 GraphQL 與 AWS AppSync 讓您的 Progressive Web App (PWA) 加速進化 (Level 200)
善用  GraphQL 與 AWS AppSync 讓您的  Progressive Web App (PWA) 加速進化 (Level 200)善用  GraphQL 與 AWS AppSync 讓您的  Progressive Web App (PWA) 加速進化 (Level 200)
善用 GraphQL 與 AWS AppSync 讓您的 Progressive Web App (PWA) 加速進化 (Level 200)
Amazon Web Services
 
Building Real-time Serverless Backends
Building Real-time Serverless BackendsBuilding Real-time Serverless Backends
Building Real-time Serverless Backends
Amazon Web Services
 
Optimizing Lambda@Edge for Performance and Cost Efficiency (CTD405-R2) - AWS ...
Optimizing Lambda@Edge for Performance and Cost Efficiency (CTD405-R2) - AWS ...Optimizing Lambda@Edge for Performance and Cost Efficiency (CTD405-R2) - AWS ...
Optimizing Lambda@Edge for Performance and Cost Efficiency (CTD405-R2) - AWS ...
Amazon Web Services
 
Migration Planning with AWS Application Discovery Service - ENT308 - Chicago ...
Migration Planning with AWS Application Discovery Service - ENT308 - Chicago ...Migration Planning with AWS Application Discovery Service - ENT308 - Chicago ...
Migration Planning with AWS Application Discovery Service - ENT308 - Chicago ...
Amazon Web Services
 
Building Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQLBuilding Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQL
Amazon Web Services
 

Similar to Executing a Large Scale Migration to AWS (ENT337-R2) - AWS re:Invent 2018 (20)

Taking serverless to the edge
Taking serverless to the edgeTaking serverless to the edge
Taking serverless to the edge
 
Monetize Your Mobile App with Amazon Mobile Ads (MOB311) - AWS reInvent 2018.pdf
Monetize Your Mobile App with Amazon Mobile Ads (MOB311) - AWS reInvent 2018.pdfMonetize Your Mobile App with Amazon Mobile Ads (MOB311) - AWS reInvent 2018.pdf
Monetize Your Mobile App with Amazon Mobile Ads (MOB311) - AWS reInvent 2018.pdf
 
Meeting Enterprise Security Requirements with AWS Native Security Services (S...
Meeting Enterprise Security Requirements with AWS Native Security Services (S...Meeting Enterprise Security Requirements with AWS Native Security Services (S...
Meeting Enterprise Security Requirements with AWS Native Security Services (S...
 
Taking Serverless to the Edge
Taking Serverless to the Edge Taking Serverless to the Edge
Taking Serverless to the Edge
 
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
Develop Cross-Platform Mobile Apps with React Native, GraphQL, & AWS (MOB324)...
 
Serverless best practices plus design principles 20m version
Serverless   best practices plus design principles 20m versionServerless   best practices plus design principles 20m version
Serverless best practices plus design principles 20m version
 
Making Headless Drupal Serverless
Making Headless Drupal ServerlessMaking Headless Drupal Serverless
Making Headless Drupal Serverless
 
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
Bridging the Gap Between Real Time/Offline and AI/ML Capabilities in Modern S...
 
Best Practices for Scalable Monitoring (ENT310-S) - AWS re:Invent 2018
Best Practices for Scalable Monitoring (ENT310-S) - AWS re:Invent 2018Best Practices for Scalable Monitoring (ENT310-S) - AWS re:Invent 2018
Best Practices for Scalable Monitoring (ENT310-S) - AWS re:Invent 2018
 
Supercharging Applications with GraphQL and AWS AppSync
Supercharging Applications with GraphQL and AWS AppSyncSupercharging Applications with GraphQL and AWS AppSync
Supercharging Applications with GraphQL and AWS AppSync
 
Build your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS AmplifyBuild your APPs in Lean and Agile Way using AWS Amplify
Build your APPs in Lean and Agile Way using AWS Amplify
 
Serverless for Developers
Serverless for DevelopersServerless for Developers
Serverless for Developers
 
Large Scale Migrations - Transformation Day Montreal 2018
Large Scale Migrations - Transformation Day Montreal 2018Large Scale Migrations - Transformation Day Montreal 2018
Large Scale Migrations - Transformation Day Montreal 2018
 
Taking your Progressive Web App to the Next Level - AWS Summit Sydney 2018
Taking your Progressive Web App to the Next Level - AWS Summit Sydney 2018Taking your Progressive Web App to the Next Level - AWS Summit Sydney 2018
Taking your Progressive Web App to the Next Level - AWS Summit Sydney 2018
 
Best Practices for Large Scale Migrations - AWS Transformation Day Boston 2018
Best Practices for Large Scale Migrations - AWS Transformation Day Boston 2018Best Practices for Large Scale Migrations - AWS Transformation Day Boston 2018
Best Practices for Large Scale Migrations - AWS Transformation Day Boston 2018
 
善用 GraphQL 與 AWS AppSync 讓您的 Progressive Web App (PWA) 加速進化 (Level 200)
善用  GraphQL 與 AWS AppSync 讓您的  Progressive Web App (PWA) 加速進化 (Level 200)善用  GraphQL 與 AWS AppSync 讓您的  Progressive Web App (PWA) 加速進化 (Level 200)
善用 GraphQL 與 AWS AppSync 讓您的 Progressive Web App (PWA) 加速進化 (Level 200)
 
Building Real-time Serverless Backends
Building Real-time Serverless BackendsBuilding Real-time Serverless Backends
Building Real-time Serverless Backends
 
Optimizing Lambda@Edge for Performance and Cost Efficiency (CTD405-R2) - AWS ...
Optimizing Lambda@Edge for Performance and Cost Efficiency (CTD405-R2) - AWS ...Optimizing Lambda@Edge for Performance and Cost Efficiency (CTD405-R2) - AWS ...
Optimizing Lambda@Edge for Performance and Cost Efficiency (CTD405-R2) - AWS ...
 
Migration Planning with AWS Application Discovery Service - ENT308 - Chicago ...
Migration Planning with AWS Application Discovery Service - ENT308 - Chicago ...Migration Planning with AWS Application Discovery Service - ENT308 - Chicago ...
Migration Planning with AWS Application Discovery Service - ENT308 - Chicago ...
 
Building Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQLBuilding Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQL
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
Amazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
Amazon Web Services
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Amazon Web Services
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
Amazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Amazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
Amazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Amazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Executing a Large Scale Migration to AWS (ENT337-R2) - AWS re:Invent 2018

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Executing a Large Scale Migration to AWS Michael Sciscenti Sr Product Manager AWS Migration Hub E N T 3 3 7 Diego Dalmolin Solutions Architect AWS/Partner Program
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda • Migration journey • Migration automation
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Migrating your portfolio Discover Plan Design Migrate Optimize
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. ASSESSMENT READINESS & PLANNING (Mobilization) APPLICATION MIGRATIONS Migration journey Migration Readiness Assessment (MRA) Migration (at scale)Migration mobilization Discover Design Build Integrate Cutover Validate Operating model Landing zone Security & compliance Discovery & planning Skills/CoE Migration expertise Migration business case Migration plan Operating model Directional business case Rapid discovery 1-2 months 4-6 months Migration factory
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Application migrations
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of migration automation Repeatability Move lots of servers and databases with speed Traceability No effort status tracking and dashboard reporting Test coverage Cutover tests can be repurposed after migration for monitoring Benefits of migration automation
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Migration tracking challenges No easy way to track migrations Existing tools don’t track migrations by application Workload migrations require different migration tools Migration tracking challenges
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Migration Hub integrated tools
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tools for automating your migration journey Business case Discovery & planning Dependency mapping Workload & data migration ValidationInventory
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automation examples Discover Plan Design Migrate Optimize
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automation architecture example Database server App server Corporate datacenter AWS Cloud Replicated instance Target DB instance
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automation architecture example Database Server Corporate datacenter AWS Cloud Replicated Instance Target DB Instance App Server App Server App Server App Server App Server App Server App server App server Database Server Database Server Database Server Database Server Database Server Database Server Database server Database server Replicated Instance Replicated Instance Replicated Instance Replicated Instance Replicated instance Replicated instance Target DB InstanceTarget DB InstanceTarget DB InstanceTarget DB Instance Target DB instance
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automation architecture example - Discovery Database server App server Corporate datacenter AWS Cloud Application Discovery plugin Scripts
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Discovery data in Athena: Analyze dependencies (query 1) WITH valid_inbound_ips (source_ip) AS (SELECT DISTINCT source_ip FROM inbound_connection_agent ), outer_inbound_query AS ( SELECT agent_id, source_ip, destination_ip, destination_port, COUNT(*) frequency FROM inbound_connection_agent WHERE ((ip_version = 'IPv4') AND (destination_ip IN (SELECT * FROM valid_inbound_ips ))) GROUP BY agent_id, source_ip, destination_ip, destination_port )
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Analyze dependencies (query 2) SELECT source_ip Source, destination_port Port, destination_ip Target, Frequency, hin1.host_name “Source Host Name”, hin2.host_name “Destination Host Name” FROM outer_inbound_query o, hostname_ip_helper hin1, hostname_ip_helper hin2 WHERE ((o.source_ip = hin1.ip_address) AND (o.destination_ip = hin2.ip_address)) ORDER BY Frequency DESC
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tag servers in Application Discovery Service SELECT host_name, dports.destination_ip, dports.destination_port, ianap.service_name FROM inbound_connection_agent dports JOIN iana_service_ports_import ianap ON (dports.destination_port = ianap.port_number) JOIN hostname_ip_helper hip ON hip.ip_address = dports.destination_ip WHERE (ianap.transport_protocol = 'tcp') GROUP BY host_name, dports.destination_ip, dports.destination_port, ianap.service_name
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automation architecture example Database server App server Corporate datacenter AWS Cloud AMI Replicated instance Target DB instance Database migration workflow/job SNS topic Lambda function SQS queue Post-Mig script Client
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. DB instance standby App Target architecture VPC Public subnet AWS Cloud Availability Zone 1 Auto Scaling group AWS Region App Public subnet Availability Zone 2 RDS Multi-AZ DB instance
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. instance_metadata = urllib.urlopen("http://169.254.169.254/latest/dynamic/instance- identity/document/imageId").read() json_instance_metadata = json.loads(instance_metadata) sns_topic = "arn:aws:sns:%s:%s:ENT319CloudEndureSNSTopic" % ((json_instance_metadata['region']),(json_instance_metadata['accountId'])) message = {"Pass": "True", "instanceId": json_instance_metadata['instanceId']} sns_client = boto3.client('sns', region_name=json_instance_metadata['region']) sns_response = sns_client.publish( TopicArn = sns_topic, Message=json.dumps(message), Subject = 'ENT319Demo’) Notify SNS after test
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. def lambda_handler(event, context): logger.info(event) json_sns_message = json.loads(event['Records'][0]['Sns']['Message']) if json_sns_message['Pass'] != "True": logger.error("%s did not pass post migration testing! Not creating an AMI." % (json_sns_message['instanceId'])) else: logger.info("%s passed post migration testing. Creating an AMI." % (json_sns_message['instanceId'])) create_ami(json_sns_message['instanceId']) Lambda - SNS
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Auto set app status on cutover def updateHUBstatus(applicationname, status): """Function to update application status on migration hub - status can be set as 'NOT_STARTED'|'IN_PROGRESS'|'COMPLETED' """ try: appname = boto3.client('discovery') appID = appname.list_configurations(configurationType='APPLICATION', filters=[{'name':'application.name', 'values':[applicationname],'condition':'EQUALS'}])['configurations'] appID = appID[0]['application.configurationId'] hub = boto3.client('mgh') response = hub.notify_application_state(ApplicationId=appID, Status=status) except ClientError as err: print(err.response)
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Recent SMS launches Hourly replication Pause/resume jobs AMI encryption Up to 16TB volume size
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS DataSync Online transfer service that simplifies, automates, and accelerates moving data Transfers up to 10 Gbps per agent Pay as you go Simple data movement to Amazon S3 or Amazon EFS Secure and reliable transfers Migrate active application data to AWS Combines the speed and reliability of network acceleration software with the cost-effectiveness of open source tools Transfer data for timely in-cloud analysis Replicate data to AWS for business continuity AWS integrated AWS
  • 34. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.