SlideShare a Scribd company logo
1 of 35
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Microsoft DevOps on AWS
Sriwantha Attanayake
Partner Solution Architect
Amazon Web Services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS CloudFormation
AWS CodeDeploy
AWS Elastic Beanstalk
Amazon Elastic Container Service
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
• AWS SDK for .NET and .NET Core
• AWS Tools for PowerShell (Windows and Core)
API Access
• AWS Toolkit for Visual Studio
• AWS Toolkit for VS Code (Developer Preview)
Code Construction
• AWS Tools for Azure DevOps (VSTS) v1.1
• Code* Suite Integration (e.g., AWS CodeBuild)
DevOps CI/CD
• X-Ray SDK for .NET
• DAX SDK for .NET
Domain specific
AWS developer tools for .NET
• AWS SDK for Xamarin
• AWS SDK for Unity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Azure DevOps services
Azure boardsAzure repos Azure test plans Azure artifacts
Extensions marketplace
Azure pipelines
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS CloudFormation
• JSON/YAML-formatted file
describing the resources to be
created. Treat it as source code
& put it in your repository
• Interprets AWS CloudFormation
template into stacks of AWS
resources
Template AWS CloudFormation Engine
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Network Stack
Active Directory Stack
SQL Stack API Stack
SharePoint
Stack
IIS Application
Stack
Microsoft servers solution – 6 CloudFormation stacks
Organize your solutions into stacks
Layer 3
Layer 2
Layer 1
https://aws.amazon.com/quickstart/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
What we will be building
Network
template
Azure repos Azure pipelines Build agent AWS
CloudFormation
VPC
Private subnet
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Tools for Microsoft Visual Studio Team Services /Azure DevOps
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Other ways to integrate with your CI/CD system
AWS Tools for
Windows PowerShell
AWS CLI
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Elastic Beanstalk vs. DIY
Your code
HTTP server
Application server
Language interpreter
Operating system
Host
Elastic Beanstalk configures each
EC2 instance in your environment
with the components such as load
balancers & auto scaling groups
necessary to run applications for
the selected platform . No more
worrying about logging into
instances to install and configure
your application stack.
Focus on building your
application
Provided by you
Provided and managed by Elastic Beanstalk
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
What we will be building
ASP.Net
web application
Azure repos Azure pipelines Build agent
Bucket
AWS Elastic
Beanstalk
Deployment
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
What we will be building
Console App Azure repos Azure pipelines Build agent
Bucket
AWS CodeDeploy
machine1
machine2
mylaptop
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
v2 v1 v1 v1 v1 v1 v1 v1
v2 v2 v1 v1 v1 v1 v1 v1
v2 v2 v2 v2 v1 v1 v1 v1
v2 v2 v2 v2 v2 v2 v2 v2
One-at-a-time
Min. healthy hosts = 99%
[Custom]
Min. healthy hosts = 75%
Half-at-a-time
Min. healthy hosts = 50%
All-at-once
Min. healthy hosts = 0
Deployment configurations
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How it works: package an application
version: 0.0
os: windows
files:
- source: MyDonkeyApp.dll
destination: C:TempMyDonkeyApp
- source: MyDonkeyApp.runtimeconfig.json
destination: C:TempMyDonkeyApp
- source: MyDonkeyApp.deps.json
destination: C:TempMyDonkeyApp
- source: DeploymentScripts
destination: C:TempMyDonkeyAppDeploymentScripts
hooks:
BeforeInstall:
- location: DeploymentScriptsPSSample-BeforeInstall.ps1
timeout: 600
AfterInstall:
- location: DeploymentScriptsPSSample-AfterInstall.ps1
timeout: 600
ApplicationStart:
ValidateService:
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Container orchestration
Amazon Elastic
Container Registry
Amazon Elastic
Container Service
Amazon Elastic
Container Service for
Kubernetes
AWS Fargate
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
What we will be building
ASP.NET core
Web Application
Azure repos Azure pipelines Build agent
Amazon ECR
Container V1.0
Elastic Load Balancing
AWS Fargate
Service
Container V1.0
Image
Container V2.0
Container V2.0
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS Systems Manager : Parameter Store
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Attach the permission
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [ "ssm:DescribeParameters" ],
"Resource": "*"
},
{
"Effect": "Deny",
"Action": [ "ssm:GetParameters" ],
"Resource": [
"arn:aws:ssm:ap-southeast-2:919173020320:parameter/finance/prod/*"
]
},
{
"Effect": "Allow",
"Action": ["kms:Decrypt"],
"Resource": [
"arn:aws:ssm:ap-southeast-2:919173020320:parameter/finance/dev/*"
]
}
]
}
Build Agent in
Amazon EC2
instance
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Access the parameter
PS C:> Get-SSMParameterValue -Name /finance/prod/forex-trading-platform/db-password -WithDecryption
$true | Select -ExpandProperty Parameters | Select Value
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Microsoft DevOps on AWS Boot Camp
Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sriwantha Attanayake
sriwanth@amazon.com
www.linkedin.com/in/sriwantha/

More Related Content

What's hot

금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
Amazon Web Services Korea
 

What's hot (20)

AWS Direct Connect 를 통한 하이브리드 클라우드 아키텍쳐 설계 - 김용우 솔루션즈 아키텍트, AWS :: AWS Summit...
AWS Direct Connect 를 통한 하이브리드 클라우드 아키텍쳐 설계 - 김용우 솔루션즈 아키텍트, AWS :: AWS Summit...AWS Direct Connect 를 통한 하이브리드 클라우드 아키텍쳐 설계 - 김용우 솔루션즈 아키텍트, AWS :: AWS Summit...
AWS Direct Connect 를 통한 하이브리드 클라우드 아키텍쳐 설계 - 김용우 솔루션즈 아키텍트, AWS :: AWS Summit...
 
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
 
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
20190326 AWS Black Belt Online Seminar Amazon CloudWatch20190326 AWS Black Belt Online Seminar Amazon CloudWatch
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
 
Breaking Down the Economics and TCO of Migrating to AWS
Breaking Down the Economics and TCO of Migrating to AWSBreaking Down the Economics and TCO of Migrating to AWS
Breaking Down the Economics and TCO of Migrating to AWS
 
20210127 AWS Black Belt Online Seminar Amazon Redshift 運用管理
20210127 AWS Black Belt Online Seminar Amazon Redshift 運用管理20210127 AWS Black Belt Online Seminar Amazon Redshift 運用管理
20210127 AWS Black Belt Online Seminar Amazon Redshift 運用管理
 
20190911 AWS Black Belt Online Seminar AWS Batch
20190911 AWS Black Belt Online Seminar AWS Batch20190911 AWS Black Belt Online Seminar AWS Batch
20190911 AWS Black Belt Online Seminar AWS Batch
 
AWS 12월 웨비나 │클라우드 마이그레이션을 통한 성공사례
AWS 12월 웨비나 │클라우드 마이그레이션을 통한 성공사례AWS 12월 웨비나 │클라우드 마이그레이션을 통한 성공사례
AWS 12월 웨비나 │클라우드 마이그레이션을 통한 성공사례
 
AWS OpsWorksハンズオン
AWS OpsWorksハンズオンAWS OpsWorksハンズオン
AWS OpsWorksハンズオン
 
AWS初心者向けWebinar AWSとのネットワーク接続入門
AWS初心者向けWebinar AWSとのネットワーク接続入門AWS初心者向けWebinar AWSとのネットワーク接続入門
AWS初心者向けWebinar AWSとのネットワーク接続入門
 
20191126 AWS Black Belt Online Seminar Amazon AppStream 2.0
20191126 AWS Black Belt Online Seminar Amazon AppStream 2.020191126 AWS Black Belt Online Seminar Amazon AppStream 2.0
20191126 AWS Black Belt Online Seminar Amazon AppStream 2.0
 
Black Belt Online Seminar AWS Amazon S3
Black Belt Online Seminar AWS Amazon S3Black Belt Online Seminar AWS Amazon S3
Black Belt Online Seminar AWS Amazon S3
 
Amazon Redshift 概要 (20分版)
Amazon Redshift 概要 (20分版)Amazon Redshift 概要 (20分版)
Amazon Redshift 概要 (20分版)
 
AWS Black Belt Online Seminar 2017 AWS OpsWorks
AWS Black Belt Online Seminar 2017 AWS OpsWorksAWS Black Belt Online Seminar 2017 AWS OpsWorks
AWS Black Belt Online Seminar 2017 AWS OpsWorks
 
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
 
VMware Cloud on AWSネットワーク詳細解説
VMware Cloud on AWSネットワーク詳細解説VMware Cloud on AWSネットワーク詳細解説
VMware Cloud on AWSネットワーク詳細解説
 
[AKIBA.AWS] VGWのルーティング仕様
[AKIBA.AWS] VGWのルーティング仕様[AKIBA.AWS] VGWのルーティング仕様
[AKIBA.AWS] VGWのルーティング仕様
 
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
 
20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrail20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrail
 
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
 
20190320 AWS Black Belt Online Seminar Amazon EBS
20190320 AWS Black Belt Online Seminar Amazon EBS20190320 AWS Black Belt Online Seminar Amazon EBS
20190320 AWS Black Belt Online Seminar Amazon EBS
 

Similar to AWS Summit Singapore 2019 | Microsoft DevOps on AWS

DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon Way
Amazon Web Services
 

Similar to AWS Summit Singapore 2019 | Microsoft DevOps on AWS (20)

Integrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit Sydney
Integrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit SydneyIntegrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit Sydney
Integrate Your Favourite Microsoft DevOps Tools with AWS - AWS Summit Sydney
 
.NET on AWS
.NET on AWS.NET on AWS
.NET on AWS
 
.NET Development and Debugging in AWS
.NET Development and Debugging in AWS.NET Development and Debugging in AWS
.NET Development and Debugging in AWS
 
Developing serverless applications with .NET using AWS SDK and tools - MAD308...
Developing serverless applications with .NET using AWS SDK and tools - MAD308...Developing serverless applications with .NET using AWS SDK and tools - MAD308...
Developing serverless applications with .NET using AWS SDK and tools - MAD308...
 
Fast-Track Your Application Modernisation Journey with Containers - AWS Summi...
Fast-Track Your Application Modernisation Journey with Containers - AWS Summi...Fast-Track Your Application Modernisation Journey with Containers - AWS Summi...
Fast-Track Your Application Modernisation Journey with Containers - AWS Summi...
 
Java on AWS
Java on AWSJava on AWS
Java on AWS
 
Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017
Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017
Interstella 8888: CICD for Containers on AWS - CON319 - re:Invent 2017
 
CON319_Interstella GTC CICD for Containers on AWS
CON319_Interstella GTC CICD for Containers on AWSCON319_Interstella GTC CICD for Containers on AWS
CON319_Interstella GTC CICD for Containers on AWS
 
Scale - Best Practices for Migrating your Microsoft Workloads to AWS
Scale - Best Practices for Migrating your Microsoft Workloads to AWSScale - Best Practices for Migrating your Microsoft Workloads to AWS
Scale - Best Practices for Migrating your Microsoft Workloads to AWS
 
Best Practices for Migrating your Microsoft Workloads to AWS
Best Practices for Migrating your Microsoft Workloads to AWSBest Practices for Migrating your Microsoft Workloads to AWS
Best Practices for Migrating your Microsoft Workloads to AWS
 
AWS Initiate - Migrando seus dados - Windows Workloads
AWS Initiate - Migrando seus dados - Windows WorkloadsAWS Initiate - Migrando seus dados - Windows Workloads
AWS Initiate - Migrando seus dados - Windows Workloads
 
Containers on AWS: An Introduction
Containers on AWS: An IntroductionContainers on AWS: An Introduction
Containers on AWS: An Introduction
 
AWS for Java Developers in 2019 - AWS Summit Sydney
AWS for Java Developers in 2019 - AWS Summit SydneyAWS for Java Developers in 2019 - AWS Summit Sydney
AWS for Java Developers in 2019 - AWS Summit Sydney
 
Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...
Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...
Strumenti e servizi basici per sviluppatori, come iniziare a creare sul cloud...
 
Breaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container ServicesBreaking the Monolith using AWS Container Services
Breaking the Monolith using AWS Container Services
 
Hosting .NET Applications on AWS - AWS Federal Pop-Up Loft
Hosting .NET Applications on AWS  - AWS Federal Pop-Up LoftHosting .NET Applications on AWS  - AWS Federal Pop-Up Loft
Hosting .NET Applications on AWS - AWS Federal Pop-Up Loft
 
DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon Way
 
Building a DevOps Pipeline on AWS (DEV326) - AWS re:Invent 2018
Building a DevOps Pipeline on AWS (DEV326) - AWS re:Invent 2018Building a DevOps Pipeline on AWS (DEV326) - AWS re:Invent 2018
Building a DevOps Pipeline on AWS (DEV326) - AWS re:Invent 2018
 
Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...
Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...
Optimize costs - Migrate existing workloads to the new A1 EC2 Instances - CMP...
 
Running Containers in a Hybrid Environment
Running Containers in a Hybrid EnvironmentRunning Containers in a Hybrid Environment
Running Containers in a Hybrid Environment
 

More from AWS Summits

More from AWS Summits (20)

AWS Summit Singapore 2019 | The Smart Way to Build an AI & ML Strategy for Yo...
AWS Summit Singapore 2019 | The Smart Way to Build an AI & ML Strategy for Yo...AWS Summit Singapore 2019 | The Smart Way to Build an AI & ML Strategy for Yo...
AWS Summit Singapore 2019 | The Smart Way to Build an AI & ML Strategy for Yo...
 
AWS Summit Singapore 2019 | Bridging Start-ups and Enterprises
AWS Summit Singapore 2019 | Bridging Start-ups and EnterprisesAWS Summit Singapore 2019 | Bridging Start-ups and Enterprises
AWS Summit Singapore 2019 | Bridging Start-ups and Enterprises
 
AWS Summit Singapore 2019 | Hiring a Global Rock Star Team: Tips and Tricks
AWS Summit Singapore 2019 | Hiring a Global Rock Star Team: Tips and TricksAWS Summit Singapore 2019 | Hiring a Global Rock Star Team: Tips and Tricks
AWS Summit Singapore 2019 | Hiring a Global Rock Star Team: Tips and Tricks
 
AWS Summit Singapore 2019 | Five Common Technical Challenges for Startups
AWS Summit Singapore 2019 | Five Common Technical Challenges for StartupsAWS Summit Singapore 2019 | Five Common Technical Challenges for Startups
AWS Summit Singapore 2019 | Five Common Technical Challenges for Startups
 
AWS Summit Singapore 2019 | A Founder's Journey to Exit
AWS Summit Singapore 2019 | A Founder's Journey to ExitAWS Summit Singapore 2019 | A Founder's Journey to Exit
AWS Summit Singapore 2019 | A Founder's Journey to Exit
 
AWS Summit Singapore 2019 | Realising Business Value with AWS Analytics Services
AWS Summit Singapore 2019 | Realising Business Value with AWS Analytics ServicesAWS Summit Singapore 2019 | Realising Business Value with AWS Analytics Services
AWS Summit Singapore 2019 | Realising Business Value with AWS Analytics Services
 
AWS Summit Singapore 2019 | Snowflake: Your Data. No Limits
AWS Summit Singapore 2019 | Snowflake: Your Data. No LimitsAWS Summit Singapore 2019 | Snowflake: Your Data. No Limits
AWS Summit Singapore 2019 | Snowflake: Your Data. No Limits
 
AWS Summit Singapore 2019 | Amazon Digital User Engagement Solutions
AWS Summit Singapore 2019 | Amazon Digital User Engagement SolutionsAWS Summit Singapore 2019 | Amazon Digital User Engagement Solutions
AWS Summit Singapore 2019 | Amazon Digital User Engagement Solutions
 
AWS Summit Singapore 2019 | Driving Business Outcomes with Data Lake on AWS
AWS Summit Singapore 2019 | Driving Business Outcomes with Data Lake on AWSAWS Summit Singapore 2019 | Driving Business Outcomes with Data Lake on AWS
AWS Summit Singapore 2019 | Driving Business Outcomes with Data Lake on AWS
 
AWS Summit Singapore 2019 | Big Data Analytics Architectural Patterns and Bes...
AWS Summit Singapore 2019 | Big Data Analytics Architectural Patterns and Bes...AWS Summit Singapore 2019 | Big Data Analytics Architectural Patterns and Bes...
AWS Summit Singapore 2019 | Big Data Analytics Architectural Patterns and Bes...
 
AWS Summit Singapore 2019 | The Serverless Lifecycle: Development and Operati...
AWS Summit Singapore 2019 | The Serverless Lifecycle: Development and Operati...AWS Summit Singapore 2019 | The Serverless Lifecycle: Development and Operati...
AWS Summit Singapore 2019 | The Serverless Lifecycle: Development and Operati...
 
AWS Summit Singapore 2019 | Accelerating Enterprise Cloud Transformation by M...
AWS Summit Singapore 2019 | Accelerating Enterprise Cloud Transformation by M...AWS Summit Singapore 2019 | Accelerating Enterprise Cloud Transformation by M...
AWS Summit Singapore 2019 | Accelerating Enterprise Cloud Transformation by M...
 
AWS Summit Singapore 2019 | Operating Microservices at Hyperscale
AWS Summit Singapore 2019 | Operating Microservices at HyperscaleAWS Summit Singapore 2019 | Operating Microservices at Hyperscale
AWS Summit Singapore 2019 | Operating Microservices at Hyperscale
 
AWS Summit Singapore 2019 | Autoscaling Your Kubernetes Workloads
AWS Summit Singapore 2019 | Autoscaling Your Kubernetes WorkloadsAWS Summit Singapore 2019 | Autoscaling Your Kubernetes Workloads
AWS Summit Singapore 2019 | Autoscaling Your Kubernetes Workloads
 
AWS Summit Singapore 2019 | Realising Business Value
AWS Summit Singapore 2019 | Realising Business ValueAWS Summit Singapore 2019 | Realising Business Value
AWS Summit Singapore 2019 | Realising Business Value
 
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
AWS Summit Singapore 2019 | Latest Trends for Cloud-Native Application Develo...
 
AWS Summit Singapore 2019 | Transformation Towards a Digital Native Enterprise
AWS Summit Singapore 2019 | Transformation Towards a Digital Native EnterpriseAWS Summit Singapore 2019 | Transformation Towards a Digital Native Enterprise
AWS Summit Singapore 2019 | Transformation Towards a Digital Native Enterprise
 
AWS Summit Singapore 2019 | Pragmatic Container Security
AWS Summit Singapore 2019 | Pragmatic Container SecurityAWS Summit Singapore 2019 | Pragmatic Container Security
AWS Summit Singapore 2019 | Pragmatic Container Security
 
AWS Summit Singapore 2019 | Enterprise Migration Journey Roadmap
AWS Summit Singapore 2019 | Enterprise Migration Journey RoadmapAWS Summit Singapore 2019 | Enterprise Migration Journey Roadmap
AWS Summit Singapore 2019 | Enterprise Migration Journey Roadmap
 
AWS Summit Singapore 2019 | VMware: The Fastest Path to Hybrid Cloud
AWS Summit Singapore 2019 | VMware: The Fastest Path to Hybrid CloudAWS Summit Singapore 2019 | VMware: The Fastest Path to Hybrid Cloud
AWS Summit Singapore 2019 | VMware: The Fastest Path to Hybrid Cloud
 

AWS Summit Singapore 2019 | Microsoft DevOps on AWS

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Microsoft DevOps on AWS Sriwantha Attanayake Partner Solution Architect Amazon Web Services
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS CloudFormation AWS CodeDeploy AWS Elastic Beanstalk Amazon Elastic Container Service
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T • AWS SDK for .NET and .NET Core • AWS Tools for PowerShell (Windows and Core) API Access • AWS Toolkit for Visual Studio • AWS Toolkit for VS Code (Developer Preview) Code Construction • AWS Tools for Azure DevOps (VSTS) v1.1 • Code* Suite Integration (e.g., AWS CodeBuild) DevOps CI/CD • X-Ray SDK for .NET • DAX SDK for .NET Domain specific AWS developer tools for .NET • AWS SDK for Xamarin • AWS SDK for Unity
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Azure DevOps services Azure boardsAzure repos Azure test plans Azure artifacts Extensions marketplace Azure pipelines
  • 5. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS CloudFormation • JSON/YAML-formatted file describing the resources to be created. Treat it as source code & put it in your repository • Interprets AWS CloudFormation template into stacks of AWS resources Template AWS CloudFormation Engine
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Network Stack Active Directory Stack SQL Stack API Stack SharePoint Stack IIS Application Stack Microsoft servers solution – 6 CloudFormation stacks Organize your solutions into stacks Layer 3 Layer 2 Layer 1
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T What we will be building Network template Azure repos Azure pipelines Build agent AWS CloudFormation VPC Private subnet
  • 10. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 11.
  • 12. AWS Tools for Microsoft Visual Studio Team Services /Azure DevOps
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Other ways to integrate with your CI/CD system AWS Tools for Windows PowerShell AWS CLI
  • 14. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Elastic Beanstalk vs. DIY Your code HTTP server Application server Language interpreter Operating system Host Elastic Beanstalk configures each EC2 instance in your environment with the components such as load balancers & auto scaling groups necessary to run applications for the selected platform . No more worrying about logging into instances to install and configure your application stack. Focus on building your application Provided by you Provided and managed by Elastic Beanstalk
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T What we will be building ASP.Net web application Azure repos Azure pipelines Build agent Bucket AWS Elastic Beanstalk Deployment
  • 17. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 18.
  • 19. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T What we will be building Console App Azure repos Azure pipelines Build agent Bucket AWS CodeDeploy machine1 machine2 mylaptop
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T v2 v1 v1 v1 v1 v1 v1 v1 v2 v2 v1 v1 v1 v1 v1 v1 v2 v2 v2 v2 v1 v1 v1 v1 v2 v2 v2 v2 v2 v2 v2 v2 One-at-a-time Min. healthy hosts = 99% [Custom] Min. healthy hosts = 75% Half-at-a-time Min. healthy hosts = 50% All-at-once Min. healthy hosts = 0 Deployment configurations
  • 22. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. How it works: package an application version: 0.0 os: windows files: - source: MyDonkeyApp.dll destination: C:TempMyDonkeyApp - source: MyDonkeyApp.runtimeconfig.json destination: C:TempMyDonkeyApp - source: MyDonkeyApp.deps.json destination: C:TempMyDonkeyApp - source: DeploymentScripts destination: C:TempMyDonkeyAppDeploymentScripts hooks: BeforeInstall: - location: DeploymentScriptsPSSample-BeforeInstall.ps1 timeout: 600 AfterInstall: - location: DeploymentScriptsPSSample-AfterInstall.ps1 timeout: 600 ApplicationStart: ValidateService:
  • 23. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 24.
  • 25. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Container orchestration Amazon Elastic Container Registry Amazon Elastic Container Service Amazon Elastic Container Service for Kubernetes AWS Fargate
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T What we will be building ASP.NET core Web Application Azure repos Azure pipelines Build agent Amazon ECR Container V1.0 Elastic Load Balancing AWS Fargate Service Container V1.0 Image Container V2.0 Container V2.0
  • 28. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 29.
  • 30. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS Systems Manager : Parameter Store
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Attach the permission { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ssm:DescribeParameters" ], "Resource": "*" }, { "Effect": "Deny", "Action": [ "ssm:GetParameters" ], "Resource": [ "arn:aws:ssm:ap-southeast-2:919173020320:parameter/finance/prod/*" ] }, { "Effect": "Allow", "Action": ["kms:Decrypt"], "Resource": [ "arn:aws:ssm:ap-southeast-2:919173020320:parameter/finance/dev/*" ] } ] } Build Agent in Amazon EC2 instance
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Access the parameter PS C:> Get-SSMParameterValue -Name /finance/prod/forex-trading-platform/db-password -WithDecryption $true | Select -ExpandProperty Parameters | Select Value
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Microsoft DevOps on AWS Boot Camp
  • 35. Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Sriwantha Attanayake sriwanth@amazon.com www.linkedin.com/in/sriwantha/