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

What's hot (20)

20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)
20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)
20190604 AWS Black Belt Online Seminar Amazon Simple Notification Service (SNS)
 
20190703 AWS Black Belt Online Seminar Amazon MQ
20190703 AWS Black Belt Online Seminar Amazon MQ20190703 AWS Black Belt Online Seminar Amazon MQ
20190703 AWS Black Belt Online Seminar Amazon MQ
 
20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR
 
20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと
 
AWS Summit Seoul 2023 | 다중 계정 및 하이브리드 환경에서 안전한 IAM 체계 만들기
AWS Summit Seoul 2023 | 다중 계정 및 하이브리드 환경에서 안전한 IAM 체계 만들기AWS Summit Seoul 2023 | 다중 계정 및 하이브리드 환경에서 안전한 IAM 체계 만들기
AWS Summit Seoul 2023 | 다중 계정 및 하이브리드 환경에서 안전한 IAM 체계 만들기
 
20180221 AWS Black Belt Online Seminar AWS Lambda@Edge
20180221 AWS Black Belt Online Seminar AWS Lambda@Edge20180221 AWS Black Belt Online Seminar AWS Lambda@Edge
20180221 AWS Black Belt Online Seminar AWS Lambda@Edge
 
AWS Black Belt Online Seminar Elastic Load Balancing
AWS Black Belt Online Seminar Elastic Load BalancingAWS Black Belt Online Seminar Elastic Load Balancing
AWS Black Belt Online Seminar Elastic Load Balancing
 
20170621 aws-black belt-ads-sms
20170621 aws-black belt-ads-sms20170621 aws-black belt-ads-sms
20170621 aws-black belt-ads-sms
 
セキュリティ設計の頻出論点
セキュリティ設計の頻出論点セキュリティ設計の頻出論点
セキュリティ設計の頻出論点
 
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
 
AWS Blackbelt 2015シリーズ AWS Lambda
AWS Blackbelt 2015シリーズ AWS LambdaAWS Blackbelt 2015シリーズ AWS Lambda
AWS Blackbelt 2015シリーズ AWS Lambda
 
20200804 AWS Black Belt Online Seminar Amazon CodeGuru
20200804 AWS Black Belt Online Seminar Amazon CodeGuru20200804 AWS Black Belt Online Seminar Amazon CodeGuru
20200804 AWS Black Belt Online Seminar Amazon CodeGuru
 
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
 
AWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@Edge
AWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@EdgeAWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@Edge
AWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@Edge
 
20190306 AWS Black Belt Online Seminar Amazon EC2 スポットインスタンス
20190306 AWS Black Belt Online Seminar Amazon EC2 スポットインスタンス20190306 AWS Black Belt Online Seminar Amazon EC2 スポットインスタンス
20190306 AWS Black Belt Online Seminar Amazon EC2 スポットインスタンス
 
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
 
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
 
APN-Funding-Progarm
APN-Funding-ProgarmAPN-Funding-Progarm
APN-Funding-Progarm
 
20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい
20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい
20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい
 
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
 

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/