SlideShare una empresa de Scribd logo
1 de 28
Descargar para leer sin conexión
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Brian Lewis
Solutions Architect, Amazon Web Services
Nicki Klein
Sr. Developer Advocate − .NET, Amazon Web Services
ENT201
Containerize Legacy .NET Framework Web
Apps for Cloud Migration
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The Basics: Why containers for legacy .NET apps?
Containerize a legacy ASP.NET app
Deploying a .NET app
container to Amazon
ECS
Hypervisor
Status:on
Connections Connections Connections
Network Up/NetworkDown
Amazon
ECS
AZ1 AZ2
Private Subnet
Public Subnet
Internet
Gateway
Private Subnet
Public Subnet
NAT
GATEWAY
NAT
GATEWAY
ALB
Amazon ECS Cluster
What we will cover
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Microsoft .NET history
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS loves .NET
Recent AWS announcements
• AWS CodeBuild for Windows with preconfigured .NET Core – 5/25
• .NET Developer Center (aws.amazon.com/net) 7/2
• .NET Core 2.1 on Amazon Linux and Ubuntu – 7/11
• .NET Core 2.1 on Lambda – 7/9
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Windows deployment modes
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
• Smallest base layer available for Windows
• Only 64-bit applications
• No graphical applications
• Optimized for .NET Core applications
• Windows PowerShell not included by default
(as of Windows Server version 1709)
• Only PowerShell Core is available
microsoft/nanoserver
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
• Minimal installation of Windows Server 2016
• Windows PowerShell
• Full .NET support
• No Windows Shell Desktop
• Great for migrating existing Windows
applications to containers
microsoft/windowsservercore
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
.Net 4.x requires Server Core
Server 2016 version 1803 - Server Core:
•1.58GB, download size, 30% reduction from Windows Server, version 1709
•3.61GB, on disk size, 20% reduction from Windows Server, version 1709
Server version Size on
disk
Server 2016 – Server Core ~ 8 Gig
Serve 2016 version 1709 – Server Core ~4.5 Gig
Server 2016 version 1803 - Server Core: ~ 3.6 Gig
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why containers for legacy .NET apps?
Operating system
utilization
Deployment /
runtime consistency
Scaling
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why containers for legacy .NET apps?
Decrease the OS
count from
12 to 4 (66%)
Windows Server 2016
App Files
Bins/Libs
Processes
Windows Kernel
Host Mode
System
Processess
Container Mgmt
SVCHost
Session Mngr
LSASS
w3wp.exe
Container #1
App Files
Bins/Libs
Processes
Container #2
Windows Server 2016
App Files
Bins/Libs
Processes:
Windows Kernel
Host Mode
System
Processess
Container Mgmt
SVCHost
Session Mngr
LSASS
w3wp.exe
Container #1
App Files
Bins/Libs
Container #2
w3wp.exe
Processes:
w3wp.exe
Operating System
Utilization CPU: 67% Memory: 85%
CPU: 72% Memory: 78%
CPU: 63% Memory: 81%
CPU: 59% Memory: 80%
Statu s: on
Connection sConn ect io nsConn ect ions
Network Up /Network Do wn
Hypervisor
Guest OS Guest OSGuest OS
App #1 App #2 App #3
Statu s: on
Connection sConn ect io nsConn ect ions
Network Up /Network Do wn
Hypervisor
Guest OS Guest OSGuest OS
App #1 App #2 App #3
Statu s: on
Connection sConn ect io nsConn ect ions
Network Up /Network Do wn
Hypervisor
Guest OS Guest OSGuest OS
App #1 App #2 App #3
Statu s: on
Connection sConn ect io nsConn ect ions
Network Up /Network Do wn
Hypervisor
Guest OS Guest OSGuest OS
App #1 App #2 App #3
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deployment / runtime consistency
Dev
Windows 10
App #1
Windows Server 2016
Hypervisor
Statu s: on
Connection sConn ect io nsConn ect ions
Network Up /Network Do wn
App #1
Windows Server 2016
Hypervisor
Statu s: on
Connection sConn ect io nsConn ect ions
Network Up /Network Do wn
App #1
Test Prod
Why containers for legacy .NET apps?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scaling
FROM microsoft/windowsservercore
RUN Add-WindowsFeature Web-server
RUN Add-WindowsFeature NET-Frame...
COPY myapp /myappfiles
1. Docker File 2. Docker Image 3. Docker Container
FROM microsoft/windowsservercore
RUN Add-WindowsFeature Web-server
RUN Add-WindowsFeature NET-Frame...
COPY myapp /myappfiles
1. Docker File 2. Docker Image
ds8fmdsf895nlks 7 GB
3. Docker Container
FROM microsoft/windowsservercore
RUN Add-WindowsFeature Web-server
RUN Add-WindowsFeature NET-Frame...
COPY myapp /myappfiles
1. Docker File 2. Docker Image
akm34ks9dj5flf9d 500 MB
ds8fmdsf895nlks 7 GB
3. Docker Container
FROM microsoft/windowsservercore
RUN Add-WindowsFeature Web-server
RUN Add-WindowsFeature NET-Frame...
COPY myapp /myappfiles
1. Docker File 2. Docker Image
k58cxbh48fj490d 300 MB
akm34ks9dj5flf9d 500 MB
ds8fmdsf895nlks 7 GB
3. Docker Container
FROM microsoft/windowsservercore
RUN Add-WindowsFeature Web-server
RUN Add-WindowsFeature NET-Frame...
COPY myapp /myappfiles
1. Docker File 2. Docker Image
f954msx83nc85b 50 MB
k58cxbh48fj490d 300 MB
akm34ks9dj5flf9d 500 MB
ds8fmdsf895nlks 7 GB
3. Docker Container
FROM microsoft/windowsservercore
RUN Add-WindowsFeature Web-server
RUN Add-WindowsFeature NET-Frame...
COPY myapp /myappfiles
1. Docker File 2. Docker Image
f954msx83nc85b 50 MB
k58cxbh48fj490d 300 MB
akm34ks9dj5flf9d 500 MB
ds8fmdsf895nlks 7 GB
3. Docker Container
Read-Only
FROM microsoft/windowsservercore
RUN Add-WindowsFeature Web-server
RUN Add-WindowsFeature NET-Frame...
COPY myapp /myappfiles
1. Docker File 2. Docker Image
f954msx83nc85b 50 MB
k58cxbh48fj490d 300 MB
akm34ks9dj5flf9d 500 MB
ds8fmdsf895nlks 7 GB
3. Docker Container
Read / Write Layer
f954msx83nc85b 50 MB
k58cxbh48fj490d 300 MB
akm34ks9dj5flf9d 500 MB
ds8fmdsf895nlks 7 GB
Read-Only
Why containers for legacy .NET apps?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scaling
Read / Write Layer
f954msx83nc85b 50 MB
k58cxbh48fj490d 300 MB
akm34ks9dj5flf9d 500 MB
ds8fmdsf895nlks 7 GB
Windows Server 2016
Read / Write Layer
Windows Server 2016
f954msx83nc85b 50 MB
k58cxbh48fj490 300 MB
akm34ks9dj5flf 500 MB
ds8fmdsf895nlks 7 GB
Read / Write Layer
Windows Server 2016
f954msx83nc85b 50 MB
k58cxbh48fj490 300 MB
akm34ks9dj5flf 500 MB
ds8fmdsf895nlks 7 GB
Read / Write Layer
f954msx83nc85b 50 MB
k58cxbh48fj490d 300 MB
akm34ks9dj5flf9d 500 MB
ds8fmdsf895nlks 7 GB
Read / Write Layer
Windows Server 2016
f954msx83nc85b 50 MB
k58cxbh48fj490 300 MB
akm34ks9dj5flf 500 MB
ds8fmdsf895nlks 7 GB
Read / Write Layer
Why containers for legacy .NET apps?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of Windows containers
• Ease of movement (on premises or in public cloud)
• Improve operating system utilization / density
• Deployment size and speed / use of base images
• Development / deployment runtime consistency
• Server boot times under 1 second
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What’s our sample .NET app?
• Sample app circa 2010
• ASP.NET MVC 1.0
• SQL Server Express LocalDB
https://github.com/kneekey23/NerdDinner
NerdDinner
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Microsoft SQL Server in a container
Production SQL Server container images must be pulled from the Docker Store
• docker pull microsoft/mssql-server-windows
• docker pull microsoft/mssql-server-linux:2017-latest
For persistent SQL data:
• Use data volume containers
• Store the database on a file share (SMB 3.2 suggested)
• Mount a host directory as data volume (Linux)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo:
Containerize a legacy
ASP.NET appHypervisor
Status:on
Connections Connections Connections
Network Up/NetworkDown
Amazon
ECS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Steps to containerize the legacy .NET app
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo:
Containerize a legacy
ASP.NET appHypervisor
Status:on
Connections Connections Connections
Network Up/NetworkDown
Amazon
ECS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ECS for Windows Server 2016
• Dec 5, 2017 − Windows Server containers for
production workloads!
• Amazon ECS-optimized Windows Server 2016 AMI
• Includes Docker 17.06 Enterprise Edition
• Amazon ECS agent now runs as a native Windows
service
• Windows containers Memory and CPU limit(s)
enforcement
Windows Server on Amazon ECS:
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ECS for Windows Server 2016
• Reference architecture on GitHub
Step 1. Build Amazon ECS cluster
https://github.com/aws-samples/ecs-
refarch-cloudformation-windows
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ECS for Windows Server 2016
Step 2. Create task definition
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ECS for Windows Server 2016
• Service name
• Number of tasks
• ELB
• IAM role
Step 3.
Create service & launch
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic
Container Service
(Amazon ECS)AZ1 AZ2
Private Subnet
Public Subnet
Internet
Gateway
Private Subnet
Public Subnet
NAT
GATEWAY
NAT
GATEWAY
ALB
Amazon ECS Cluster
Demo:
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Container Service (Amazon ECS)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Next steps: After you migrate your app
Modernizing your .NET apps
• Rewriting the application is always the cleanest path
• Windows containers offer another option
Use Docker to take a feature-driven approach to breaking up the monolithic application,
splitting the functionality across multiple containers and using Docker for the plumbing. Use
.NET Core to extend the application.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Brian Lewis - Solutions Architect
Nicki Klein - Sr. Developer Advocate - .NET
Thank you for attending today!
Submit Session Feedback (Let us know how we did ☺)
1. Tap on the Agenda icon
2. Select the session you attended
3. Tap on Session Evaluation to submit your feedback
Code from demos:
https://github.com/kneekey23/NerdDinner

Más contenido relacionado

La actualidad más candente

Architecting for Continuous Delivery
Architecting for Continuous DeliveryArchitecting for Continuous Delivery
Architecting for Continuous DeliveryAxel Fontaine
 
Bee con2016 presentation_20160125004_installing
Bee con2016 presentation_20160125004_installingBee con2016 presentation_20160125004_installing
Bee con2016 presentation_20160125004_installingAngel Borroy López
 
Performance Testing using Real Browsers with JMeter & Webdriver
Performance Testing using Real Browsers with JMeter & WebdriverPerformance Testing using Real Browsers with JMeter & Webdriver
Performance Testing using Real Browsers with JMeter & WebdriverBlazeMeter
 
Running and Scaling Magento on AWS
Running and Scaling Magento on AWSRunning and Scaling Magento on AWS
Running and Scaling Magento on AWSAOE
 
Installing WordPress on AWS
Installing WordPress on AWSInstalling WordPress on AWS
Installing WordPress on AWSManish Jain
 
Windows Server 2016 Webinar
Windows Server 2016 WebinarWindows Server 2016 Webinar
Windows Server 2016 WebinarMen and Mice
 
10 Tips Every New Developer in Alfresco Should Know
10 Tips Every New Developer in Alfresco Should Know10 Tips Every New Developer in Alfresco Should Know
10 Tips Every New Developer in Alfresco Should KnowAngel Borroy López
 
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...mfrancis
 
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010Adrian Trenaman
 
Can you contain the future - Docker, Container Technologies, The Future, and You
Can you contain the future - Docker, Container Technologies, The Future, and YouCan you contain the future - Docker, Container Technologies, The Future, and You
Can you contain the future - Docker, Container Technologies, The Future, and YouColdFusionConference
 
Deploy, Scale and Manage your Application with AWS Elastic Beanstalk
Deploy, Scale and Manage your Application with AWS Elastic BeanstalkDeploy, Scale and Manage your Application with AWS Elastic Beanstalk
Deploy, Scale and Manage your Application with AWS Elastic BeanstalkAmazon Web Services
 
ApacheCon EU 2014: Enterprise Development with Apache Karaf
ApacheCon EU 2014: Enterprise Development with Apache KarafApacheCon EU 2014: Enterprise Development with Apache Karaf
ApacheCon EU 2014: Enterprise Development with Apache KarafAchim Nierbeck
 
Bluemix hadoop beginners Guide part I
Bluemix hadoop beginners Guide part IBluemix hadoop beginners Guide part I
Bluemix hadoop beginners Guide part IJoseph Chang
 
Docker for Ruby Developers
Docker for Ruby DevelopersDocker for Ruby Developers
Docker for Ruby DevelopersAptible
 

La actualidad más candente (20)

Architecting for Continuous Delivery
Architecting for Continuous DeliveryArchitecting for Continuous Delivery
Architecting for Continuous Delivery
 
Realtime with-websockets-2015
Realtime with-websockets-2015Realtime with-websockets-2015
Realtime with-websockets-2015
 
Upgrading to Alfresco 6
Upgrading to Alfresco 6Upgrading to Alfresco 6
Upgrading to Alfresco 6
 
Bee con2016 presentation_20160125004_installing
Bee con2016 presentation_20160125004_installingBee con2016 presentation_20160125004_installing
Bee con2016 presentation_20160125004_installing
 
Read me
Read meRead me
Read me
 
Manual 5
Manual 5Manual 5
Manual 5
 
Performance Testing using Real Browsers with JMeter & Webdriver
Performance Testing using Real Browsers with JMeter & WebdriverPerformance Testing using Real Browsers with JMeter & Webdriver
Performance Testing using Real Browsers with JMeter & Webdriver
 
Running and Scaling Magento on AWS
Running and Scaling Magento on AWSRunning and Scaling Magento on AWS
Running and Scaling Magento on AWS
 
Installing WordPress on AWS
Installing WordPress on AWSInstalling WordPress on AWS
Installing WordPress on AWS
 
Windows Server 2016 Webinar
Windows Server 2016 WebinarWindows Server 2016 Webinar
Windows Server 2016 Webinar
 
10 Tips Every New Developer in Alfresco Should Know
10 Tips Every New Developer in Alfresco Should Know10 Tips Every New Developer in Alfresco Should Know
10 Tips Every New Developer in Alfresco Should Know
 
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
 
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010
 
Can you contain the future - Docker, Container Technologies, The Future, and You
Can you contain the future - Docker, Container Technologies, The Future, and YouCan you contain the future - Docker, Container Technologies, The Future, and You
Can you contain the future - Docker, Container Technologies, The Future, and You
 
Sun Web Server Brief
Sun Web Server BriefSun Web Server Brief
Sun Web Server Brief
 
Deploy, Scale and Manage your Application with AWS Elastic Beanstalk
Deploy, Scale and Manage your Application with AWS Elastic BeanstalkDeploy, Scale and Manage your Application with AWS Elastic Beanstalk
Deploy, Scale and Manage your Application with AWS Elastic Beanstalk
 
IIS Web Ecosystem
IIS Web EcosystemIIS Web Ecosystem
IIS Web Ecosystem
 
ApacheCon EU 2014: Enterprise Development with Apache Karaf
ApacheCon EU 2014: Enterprise Development with Apache KarafApacheCon EU 2014: Enterprise Development with Apache Karaf
ApacheCon EU 2014: Enterprise Development with Apache Karaf
 
Bluemix hadoop beginners Guide part I
Bluemix hadoop beginners Guide part IBluemix hadoop beginners Guide part I
Bluemix hadoop beginners Guide part I
 
Docker for Ruby Developers
Docker for Ruby DevelopersDocker for Ruby Developers
Docker for Ruby Developers
 

Similar a Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Chicago AWS Summit

Containerize Legacy .NET Framework Web Apps for Cloud Migration
Containerize Legacy .NET Framework Web Apps for Cloud Migration Containerize Legacy .NET Framework Web Apps for Cloud Migration
Containerize Legacy .NET Framework Web Apps for Cloud Migration Amazon Web Services
 
Containerize Legacy .NET Framework Web Apps for Cloud Migration (WIN305) - AW...
Containerize Legacy .NET Framework Web Apps for Cloud Migration (WIN305) - AW...Containerize Legacy .NET Framework Web Apps for Cloud Migration (WIN305) - AW...
Containerize Legacy .NET Framework Web Apps for Cloud Migration (WIN305) - AW...Amazon Web Services
 
Containerizing Legacy .NET Workloads (CON348-R1) - AWS re:Invent 2018
Containerizing Legacy .NET Workloads (CON348-R1) - AWS re:Invent 2018Containerizing Legacy .NET Workloads (CON348-R1) - AWS re:Invent 2018
Containerizing Legacy .NET Workloads (CON348-R1) - AWS re:Invent 2018Amazon Web Services
 
SRV314 Containerized App Development with AWS Fargate
SRV314 Containerized App Development with AWS FargateSRV314 Containerized App Development with AWS Fargate
SRV314 Containerized App Development with AWS FargateAmazon Web Services
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfAmazon Web Services
 
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R1) - A...
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R1) - A...[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R1) - A...
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R1) - A...Amazon Web Services
 
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R) - AW...
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R) - AW...[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R) - AW...
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R) - AW...Amazon Web Services
 
Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017Amazon Web Services
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfAmazon Web Services
 
Exciting world of Amazon container services with AWS Fargate and Amazon EKS
Exciting world of Amazon container services with AWS Fargate and Amazon EKSExciting world of Amazon container services with AWS Fargate and Amazon EKS
Exciting world of Amazon container services with AWS Fargate and Amazon EKSAmazon Web Services
 
AWS Black Belt Online Seminar 2018 re:Invent Recap: Compute, Container and Ne...
AWS Black Belt Online Seminar 2018 re:Invent Recap: Compute, Container and Ne...AWS Black Belt Online Seminar 2018 re:Invent Recap: Compute, Container and Ne...
AWS Black Belt Online Seminar 2018 re:Invent Recap: Compute, Container and Ne...Amazon Web Services Japan
 
Getting Started with Containers on AWS
Getting Started with Containers on AWSGetting Started with Containers on AWS
Getting Started with Containers on AWSAmazon Web Services
 
Introducing AWS Fargate - AWS Online Tech Talks
Introducing AWS Fargate - AWS Online Tech TalksIntroducing AWS Fargate - AWS Online Tech Talks
Introducing AWS Fargate - AWS Online Tech TalksAmazon Web Services
 
Developer insight into why applications run amazingly Fast in CF 2018
Developer insight into why applications run amazingly Fast in CF 2018Developer insight into why applications run amazingly Fast in CF 2018
Developer insight into why applications run amazingly Fast in CF 2018Pavan Kumar
 
Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...
Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...
Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...Amazon Web Services
 

Similar a Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Chicago AWS Summit (20)

Containerize Legacy .NET Framework Web Apps for Cloud Migration
Containerize Legacy .NET Framework Web Apps for Cloud Migration Containerize Legacy .NET Framework Web Apps for Cloud Migration
Containerize Legacy .NET Framework Web Apps for Cloud Migration
 
Containerize Legacy .NET Framework Web Apps for Cloud Migration (WIN305) - AW...
Containerize Legacy .NET Framework Web Apps for Cloud Migration (WIN305) - AW...Containerize Legacy .NET Framework Web Apps for Cloud Migration (WIN305) - AW...
Containerize Legacy .NET Framework Web Apps for Cloud Migration (WIN305) - AW...
 
Containerizing Legacy .NET Workloads (CON348-R1) - AWS re:Invent 2018
Containerizing Legacy .NET Workloads (CON348-R1) - AWS re:Invent 2018Containerizing Legacy .NET Workloads (CON348-R1) - AWS re:Invent 2018
Containerizing Legacy .NET Workloads (CON348-R1) - AWS re:Invent 2018
 
SRV314 Containerized App Development with AWS Fargate
SRV314 Containerized App Development with AWS FargateSRV314 Containerized App Development with AWS Fargate
SRV314 Containerized App Development with AWS Fargate
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R1) - A...
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R1) - A...[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R1) - A...
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R1) - A...
 
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R) - AW...
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R) - AW...[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R) - AW...
[NEW LAUNCH!] Deep Dive on Amazon FSx for Windows File Server (STG322-R) - AW...
 
Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017Deep Dive into AWS Fargate - CON333 - re:Invent 2017
Deep Dive into AWS Fargate - CON333 - re:Invent 2017
 
Breaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdfBreaking the Monolith road to containers.pdf
Breaking the Monolith road to containers.pdf
 
Exciting world of Amazon container services with AWS Fargate and Amazon EKS
Exciting world of Amazon container services with AWS Fargate and Amazon EKSExciting world of Amazon container services with AWS Fargate and Amazon EKS
Exciting world of Amazon container services with AWS Fargate and Amazon EKS
 
AWS Black Belt Online Seminar 2018 re:Invent Recap: Compute, Container and Ne...
AWS Black Belt Online Seminar 2018 re:Invent Recap: Compute, Container and Ne...AWS Black Belt Online Seminar 2018 re:Invent Recap: Compute, Container and Ne...
AWS Black Belt Online Seminar 2018 re:Invent Recap: Compute, Container and Ne...
 
S903 palla
S903 pallaS903 palla
S903 palla
 
Deep dive into AWS fargate
Deep dive into AWS fargateDeep dive into AWS fargate
Deep dive into AWS fargate
 
Introducing AWS Fargate
Introducing AWS FargateIntroducing AWS Fargate
Introducing AWS Fargate
 
Getting Started with Containers on AWS
Getting Started with Containers on AWSGetting Started with Containers on AWS
Getting Started with Containers on AWS
 
Introducing AWS Fargate
Introducing AWS FargateIntroducing AWS Fargate
Introducing AWS Fargate
 
Introducing AWS Fargate - AWS Online Tech Talks
Introducing AWS Fargate - AWS Online Tech TalksIntroducing AWS Fargate - AWS Online Tech Talks
Introducing AWS Fargate - AWS Online Tech Talks
 
Introducing AWS Fargate
Introducing AWS FargateIntroducing AWS Fargate
Introducing AWS Fargate
 
Developer insight into why applications run amazingly Fast in CF 2018
Developer insight into why applications run amazingly Fast in CF 2018Developer insight into why applications run amazingly Fast in CF 2018
Developer insight into why applications run amazingly Fast in CF 2018
 
Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...
Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...
Optimizing Network Performance for Amazon EC2 Instances (CMP308-R1) - AWS re:...
 

Más de 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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon 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
 
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 WorkloadsAmazon 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 sfatareAmazon 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 NodeJSAmazon 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 webAmazon 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 sfatareAmazon 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 ServiceAmazon Web Services
 

Más de 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
 

Containerize Legacy .NET Framework Web Apps for Cloud Migration - ENT201 - Chicago AWS Summit

  • 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Brian Lewis Solutions Architect, Amazon Web Services Nicki Klein Sr. Developer Advocate − .NET, Amazon Web Services ENT201 Containerize Legacy .NET Framework Web Apps for Cloud Migration
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. The Basics: Why containers for legacy .NET apps? Containerize a legacy ASP.NET app Deploying a .NET app container to Amazon ECS Hypervisor Status:on Connections Connections Connections Network Up/NetworkDown Amazon ECS AZ1 AZ2 Private Subnet Public Subnet Internet Gateway Private Subnet Public Subnet NAT GATEWAY NAT GATEWAY ALB Amazon ECS Cluster What we will cover
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Microsoft .NET history
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS loves .NET Recent AWS announcements • AWS CodeBuild for Windows with preconfigured .NET Core – 5/25 • .NET Developer Center (aws.amazon.com/net) 7/2 • .NET Core 2.1 on Amazon Linux and Ubuntu – 7/11 • .NET Core 2.1 on Lambda – 7/9
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Windows deployment modes
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. • Smallest base layer available for Windows • Only 64-bit applications • No graphical applications • Optimized for .NET Core applications • Windows PowerShell not included by default (as of Windows Server version 1709) • Only PowerShell Core is available microsoft/nanoserver
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. • Minimal installation of Windows Server 2016 • Windows PowerShell • Full .NET support • No Windows Shell Desktop • Great for migrating existing Windows applications to containers microsoft/windowsservercore
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. .Net 4.x requires Server Core Server 2016 version 1803 - Server Core: •1.58GB, download size, 30% reduction from Windows Server, version 1709 •3.61GB, on disk size, 20% reduction from Windows Server, version 1709 Server version Size on disk Server 2016 – Server Core ~ 8 Gig Serve 2016 version 1709 – Server Core ~4.5 Gig Server 2016 version 1803 - Server Core: ~ 3.6 Gig
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why containers for legacy .NET apps? Operating system utilization Deployment / runtime consistency Scaling
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why containers for legacy .NET apps? Decrease the OS count from 12 to 4 (66%) Windows Server 2016 App Files Bins/Libs Processes Windows Kernel Host Mode System Processess Container Mgmt SVCHost Session Mngr LSASS w3wp.exe Container #1 App Files Bins/Libs Processes Container #2 Windows Server 2016 App Files Bins/Libs Processes: Windows Kernel Host Mode System Processess Container Mgmt SVCHost Session Mngr LSASS w3wp.exe Container #1 App Files Bins/Libs Container #2 w3wp.exe Processes: w3wp.exe Operating System Utilization CPU: 67% Memory: 85% CPU: 72% Memory: 78% CPU: 63% Memory: 81% CPU: 59% Memory: 80% Statu s: on Connection sConn ect io nsConn ect ions Network Up /Network Do wn Hypervisor Guest OS Guest OSGuest OS App #1 App #2 App #3 Statu s: on Connection sConn ect io nsConn ect ions Network Up /Network Do wn Hypervisor Guest OS Guest OSGuest OS App #1 App #2 App #3 Statu s: on Connection sConn ect io nsConn ect ions Network Up /Network Do wn Hypervisor Guest OS Guest OSGuest OS App #1 App #2 App #3 Statu s: on Connection sConn ect io nsConn ect ions Network Up /Network Do wn Hypervisor Guest OS Guest OSGuest OS App #1 App #2 App #3
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Deployment / runtime consistency Dev Windows 10 App #1 Windows Server 2016 Hypervisor Statu s: on Connection sConn ect io nsConn ect ions Network Up /Network Do wn App #1 Windows Server 2016 Hypervisor Statu s: on Connection sConn ect io nsConn ect ions Network Up /Network Do wn App #1 Test Prod Why containers for legacy .NET apps?
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling FROM microsoft/windowsservercore RUN Add-WindowsFeature Web-server RUN Add-WindowsFeature NET-Frame... COPY myapp /myappfiles 1. Docker File 2. Docker Image 3. Docker Container FROM microsoft/windowsservercore RUN Add-WindowsFeature Web-server RUN Add-WindowsFeature NET-Frame... COPY myapp /myappfiles 1. Docker File 2. Docker Image ds8fmdsf895nlks 7 GB 3. Docker Container FROM microsoft/windowsservercore RUN Add-WindowsFeature Web-server RUN Add-WindowsFeature NET-Frame... COPY myapp /myappfiles 1. Docker File 2. Docker Image akm34ks9dj5flf9d 500 MB ds8fmdsf895nlks 7 GB 3. Docker Container FROM microsoft/windowsservercore RUN Add-WindowsFeature Web-server RUN Add-WindowsFeature NET-Frame... COPY myapp /myappfiles 1. Docker File 2. Docker Image k58cxbh48fj490d 300 MB akm34ks9dj5flf9d 500 MB ds8fmdsf895nlks 7 GB 3. Docker Container FROM microsoft/windowsservercore RUN Add-WindowsFeature Web-server RUN Add-WindowsFeature NET-Frame... COPY myapp /myappfiles 1. Docker File 2. Docker Image f954msx83nc85b 50 MB k58cxbh48fj490d 300 MB akm34ks9dj5flf9d 500 MB ds8fmdsf895nlks 7 GB 3. Docker Container FROM microsoft/windowsservercore RUN Add-WindowsFeature Web-server RUN Add-WindowsFeature NET-Frame... COPY myapp /myappfiles 1. Docker File 2. Docker Image f954msx83nc85b 50 MB k58cxbh48fj490d 300 MB akm34ks9dj5flf9d 500 MB ds8fmdsf895nlks 7 GB 3. Docker Container Read-Only FROM microsoft/windowsservercore RUN Add-WindowsFeature Web-server RUN Add-WindowsFeature NET-Frame... COPY myapp /myappfiles 1. Docker File 2. Docker Image f954msx83nc85b 50 MB k58cxbh48fj490d 300 MB akm34ks9dj5flf9d 500 MB ds8fmdsf895nlks 7 GB 3. Docker Container Read / Write Layer f954msx83nc85b 50 MB k58cxbh48fj490d 300 MB akm34ks9dj5flf9d 500 MB ds8fmdsf895nlks 7 GB Read-Only Why containers for legacy .NET apps?
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling Read / Write Layer f954msx83nc85b 50 MB k58cxbh48fj490d 300 MB akm34ks9dj5flf9d 500 MB ds8fmdsf895nlks 7 GB Windows Server 2016 Read / Write Layer Windows Server 2016 f954msx83nc85b 50 MB k58cxbh48fj490 300 MB akm34ks9dj5flf 500 MB ds8fmdsf895nlks 7 GB Read / Write Layer Windows Server 2016 f954msx83nc85b 50 MB k58cxbh48fj490 300 MB akm34ks9dj5flf 500 MB ds8fmdsf895nlks 7 GB Read / Write Layer f954msx83nc85b 50 MB k58cxbh48fj490d 300 MB akm34ks9dj5flf9d 500 MB ds8fmdsf895nlks 7 GB Read / Write Layer Windows Server 2016 f954msx83nc85b 50 MB k58cxbh48fj490 300 MB akm34ks9dj5flf 500 MB ds8fmdsf895nlks 7 GB Read / Write Layer Why containers for legacy .NET apps?
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of Windows containers • Ease of movement (on premises or in public cloud) • Improve operating system utilization / density • Deployment size and speed / use of base images • Development / deployment runtime consistency • Server boot times under 1 second
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What’s our sample .NET app? • Sample app circa 2010 • ASP.NET MVC 1.0 • SQL Server Express LocalDB https://github.com/kneekey23/NerdDinner NerdDinner
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Microsoft SQL Server in a container Production SQL Server container images must be pulled from the Docker Store • docker pull microsoft/mssql-server-windows • docker pull microsoft/mssql-server-linux:2017-latest For persistent SQL data: • Use data volume containers • Store the database on a file share (SMB 3.2 suggested) • Mount a host directory as data volume (Linux)
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo: Containerize a legacy ASP.NET appHypervisor Status:on Connections Connections Connections Network Up/NetworkDown Amazon ECS
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Steps to containerize the legacy .NET app
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo: Containerize a legacy ASP.NET appHypervisor Status:on Connections Connections Connections Network Up/NetworkDown Amazon ECS
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon ECS for Windows Server 2016 • Dec 5, 2017 − Windows Server containers for production workloads! • Amazon ECS-optimized Windows Server 2016 AMI • Includes Docker 17.06 Enterprise Edition • Amazon ECS agent now runs as a native Windows service • Windows containers Memory and CPU limit(s) enforcement Windows Server on Amazon ECS:
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon ECS for Windows Server 2016 • Reference architecture on GitHub Step 1. Build Amazon ECS cluster https://github.com/aws-samples/ecs- refarch-cloudformation-windows
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon ECS for Windows Server 2016 Step 2. Create task definition
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon ECS for Windows Server 2016 • Service name • Number of tasks • ELB • IAM role Step 3. Create service & launch
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Container Service (Amazon ECS)AZ1 AZ2 Private Subnet Public Subnet Internet Gateway Private Subnet Public Subnet NAT GATEWAY NAT GATEWAY ALB Amazon ECS Cluster Demo:
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elastic Container Service (Amazon ECS)
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Next steps: After you migrate your app Modernizing your .NET apps • Rewriting the application is always the cleanest path • Windows containers offer another option Use Docker to take a feature-driven approach to breaking up the monolithic application, splitting the functionality across multiple containers and using Docker for the plumbing. Use .NET Core to extend the application.
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Brian Lewis - Solutions Architect Nicki Klein - Sr. Developer Advocate - .NET Thank you for attending today! Submit Session Feedback (Let us know how we did ☺) 1. Tap on the Agenda icon 2. Select the session you attended 3. Tap on Session Evaluation to submit your feedback Code from demos: https://github.com/kneekey23/NerdDinner