SlideShare a Scribd company logo
Scale net apps in aws
AutoScale .NET Applications
in Amazon Web Services
Start using auto scale today!
Liviu Costea @clm160
Development Lead, BizPro Technologies
agenda
• Scalability vs Auto Scale?
• To be able to scale, you need
• A Load Balancer (web applications)
• To solve your session issues
• Auto Scale means actually monitoring your app
beginnings
• Why Amazon Web Services (2011)?
• Pros:
• Infrastructure – easy to start
• Mature, big platform
• Cons:
• No AD Services (added in 2014, improved in 2015)
• No SQL Server HA (RDS added in 2014)
scalability – what is?
• Scalability is the ability of a system, network, or process to handle a
growing amount of work in a capable manner or its ability to be
enlarged to accommodate that growth -
en.wikipedia.org/wiki/Scalability
• Vertically and Horizontally
© bframe.com
autoscaling – what is?
• Auto-scaling, also spelled autoscaling, is a cloud computing service
feature that automatically adds or removes compute resources
depending upon actual usage - itknowledgeexchange.techtarget.com
• Mostly horizontally
• Scale Up and Down
© dev.mlsdigital.net
an application
• 2 Web Servers with 2 web services each under a LB (2012)
• 3 Application Servers each with 2 Windows Services (2012)
• 2 to 5 Application Servers each with 2 Windows Services (2015)
• 1 SQL Server with 2 databases (2012)
• 3 SQS, 1 Memcached (ElastiCache) cluster with 3 nodes (2015)
web application - load balancing
• AWS Elastic Load Balancer
• Hidden public machines - Round Robin on DNS
• Has Health Check (out of service)
• No IP control
• Sometimes you might need a reverse proxy
© blog.celingest.com
web applications - state
• Classic solution – Sticky Sessions – go over it
• Build your session for out of process from the start (StateServer,
SqlServer, Redis)
• Be careful on what you put in Session – loads on every request
• Session might timeout
• Cache layer for big items
code 1 – not working as expected
code 2 – working
workers
• Don’t rely on application machines (OnStart/OnStop)
• Your application starts fresh, which is not always great – go for no warm up
and if needed load from cache
• Your application also needs to be able to stop
monitoring your app
• Log mechanism outside of the machine (S3, SQL, NoSQL)
• Think of monitoring from the start
• That it is running
• That is doing the right thing
• That it is able to process everything
monitoring your app
• AWS CloudWatch
• Standard Metrics
• Custom Metrics - PowerShell
• Alarms - AWS SNS
finally – you can auto scale
• Based on metrics you collect:
• Go UP
• Go DOWN
• AWS Limitation: Only on one metric
• Machine Images for AutoScale
?questions?
• email.lcostea@gmail.com
• @clm160

More Related Content

What's hot (20)

PDF
Connect SAP Business One using Service Layer (HANA)
APPSeCONNECT
 
PPTX
ARA - More than Continuous Integrations and Continuous Delivery
CA | Automic Software
 
PDF
General 05 integration design vs migration design
Scribe Software Corp.
 
PPTX
Presentation AuthZForce
mpfariseni mabogo
 
PPTX
Create a modern(ish) BAM portal in (roughly) one hour!
BizTalk360
 
PPTX
Asynchronous Apex Salesforce World Tour Paris 2015
Samuel De Rycke
 
PPTX
5 ways to use node.js in the network
Lori MacVittie
 
PDF
SAP PI online training course content
KMR SOFTWARE SERVICES PVT LTD
 
PPTX
Anypoint Data Graphs
NeerajKumar1965
 
PDF
WSO2Con USA 2017: Building an Effective API Architecture
WSO2
 
PPTX
Webinar: Embracing REST APIs through APPSeCONNECT
APPSeCONNECT
 
PPTX
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
VMware Tanzu
 
PPTX
What is Serverless Computing?
AIMDek Technologies
 
PPTX
Sap pi vs_biz_talk
Vasanth Subramanyam
 
PDF
Why Standards-Based Drivers Offer Better API Integration
Nordic APIs
 
PDF
(ATS6-DEV05) Building Interactive Web Applications with the Reporting Collection
BIOVIA
 
PPTX
Enabling DevOps to optimize application and server performance
ManageEngine, Zoho Corporation
 
PPTX
SEO - Trending search
Ashish Namdeo
 
PDF
Testing in the Cloud using Panda
Tao Jiang
 
PDF
10 Tips to Pump Up Your Atlassian Performance
Atlassian
 
Connect SAP Business One using Service Layer (HANA)
APPSeCONNECT
 
ARA - More than Continuous Integrations and Continuous Delivery
CA | Automic Software
 
General 05 integration design vs migration design
Scribe Software Corp.
 
Presentation AuthZForce
mpfariseni mabogo
 
Create a modern(ish) BAM portal in (roughly) one hour!
BizTalk360
 
Asynchronous Apex Salesforce World Tour Paris 2015
Samuel De Rycke
 
5 ways to use node.js in the network
Lori MacVittie
 
SAP PI online training course content
KMR SOFTWARE SERVICES PVT LTD
 
Anypoint Data Graphs
NeerajKumar1965
 
WSO2Con USA 2017: Building an Effective API Architecture
WSO2
 
Webinar: Embracing REST APIs through APPSeCONNECT
APPSeCONNECT
 
Integrating Hybrid Cloud Database-as-a-Service with Cloud Foundry’s Service​ ...
VMware Tanzu
 
What is Serverless Computing?
AIMDek Technologies
 
Sap pi vs_biz_talk
Vasanth Subramanyam
 
Why Standards-Based Drivers Offer Better API Integration
Nordic APIs
 
(ATS6-DEV05) Building Interactive Web Applications with the Reporting Collection
BIOVIA
 
Enabling DevOps to optimize application and server performance
ManageEngine, Zoho Corporation
 
SEO - Trending search
Ashish Namdeo
 
Testing in the Cloud using Panda
Tao Jiang
 
10 Tips to Pump Up Your Atlassian Performance
Atlassian
 

Viewers also liked (20)

PPTX
Tiberiu Covaci - Fast, Faster: Async Asp.net
Codecamp Romania
 
PPTX
Sizing epics tales from an agile kingdom
Codecamp Romania
 
PDF
Iasi code camp 12 october 2013 marius ursache - sketching & prototyping
Codecamp Romania
 
PPTX
Raluca butnaru corina cilibiu the unknown universe of a product and the cer...
Codecamp Romania
 
PPTX
Remus Pereni - Remus Pereni - JavaScript, from dark ages to renaissance, the ...
Codecamp Romania
 
PDF
Blind sizing
sowmya_k
 
PPTX
New Web
Radu Popescu
 
PDF
Kickstart your own freelancing career
Codecamp Romania
 
PPTX
Iasi code camp 12 october 2013 shadow dom - mihai bîrsan
Codecamp Romania
 
PDF
Ecma6 in the wild
Codecamp Romania
 
PPT
Andrei prisacaru takingtheunitteststothedatabase
Codecamp Romania
 
PPTX
2015 dan ardelean develop for windows 10
Codecamp Romania
 
PDF
The case for continuous delivery
Codecamp Romania
 
PDF
Material design screen transitions in android
Codecamp Romania
 
PDF
Ionut grecu the soft stuff is the hard stuff. the agile soft skills toolkit
Codecamp Romania
 
PPTX
Diana antohi me against myself or how to fail and move forward
Codecamp Romania
 
PPTX
Parallel & async processing using tpl dataflow
Codecamp Romania
 
PPTX
Stefan stolniceanu spritekit, 2 d or not 2d
Codecamp Romania
 
PPTX
Agility and life
Codecamp Romania
 
PDF
The bigrewrite
Codecamp Romania
 
Tiberiu Covaci - Fast, Faster: Async Asp.net
Codecamp Romania
 
Sizing epics tales from an agile kingdom
Codecamp Romania
 
Iasi code camp 12 october 2013 marius ursache - sketching & prototyping
Codecamp Romania
 
Raluca butnaru corina cilibiu the unknown universe of a product and the cer...
Codecamp Romania
 
Remus Pereni - Remus Pereni - JavaScript, from dark ages to renaissance, the ...
Codecamp Romania
 
Blind sizing
sowmya_k
 
New Web
Radu Popescu
 
Kickstart your own freelancing career
Codecamp Romania
 
Iasi code camp 12 october 2013 shadow dom - mihai bîrsan
Codecamp Romania
 
Ecma6 in the wild
Codecamp Romania
 
Andrei prisacaru takingtheunitteststothedatabase
Codecamp Romania
 
2015 dan ardelean develop for windows 10
Codecamp Romania
 
The case for continuous delivery
Codecamp Romania
 
Material design screen transitions in android
Codecamp Romania
 
Ionut grecu the soft stuff is the hard stuff. the agile soft skills toolkit
Codecamp Romania
 
Diana antohi me against myself or how to fail and move forward
Codecamp Romania
 
Parallel & async processing using tpl dataflow
Codecamp Romania
 
Stefan stolniceanu spritekit, 2 d or not 2d
Codecamp Romania
 
Agility and life
Codecamp Romania
 
The bigrewrite
Codecamp Romania
 
Ad

Similar to Scale net apps in aws (20)

PPT
EM12c Monitoring, Metric Extensions and Performance Pages
Enkitec
 
PDF
Ioug oow12 em12c
Kellyn Pot'Vin-Gorman
 
PPTX
Performance monitoring in a DevOps World
Solidify
 
PDF
Tech Talk on Cloud Computing
ITviec
 
PPTX
Building Scalable Applications with Microsoft Azure
Fisnik Doko
 
PPTX
Microsoft on AWS
CloudHesive
 
PPTX
Building azure applications ireland
Michael Meagher
 
PPTX
Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...
Vikas Sahni
 
PPTX
Google App engine
Indika Munaweera Kankanamge
 
PDF
Advanced Orchestration & Automation
Luc Raeskin
 
PPTX
Introduction to Google App Engine
saivvit
 
PDF
Continuous Delivery: How RightScale Releases Weekly
RightScale
 
PPTX
CON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptx
SergioBruno21
 
PDF
Agile infrastructure
Tarun Rajput
 
PPTX
Cloud computing
Rohith Shankar
 
PPTX
Site reliability in the serverless age - Serverless Boston Meetup
Erik Peterson
 
PDF
estrat AWS Cloud Breakfast
Paul Cooper
 
PDF
Aws pluginfor rd
MidVision
 
PPT
Power Your Mobile Applications On The Cloud [IndicThreads Mobile Application ...
IndicThreads
 
PPTX
Top 5 Java Performance Metrics, Tips & Tricks
AppDynamics
 
EM12c Monitoring, Metric Extensions and Performance Pages
Enkitec
 
Ioug oow12 em12c
Kellyn Pot'Vin-Gorman
 
Performance monitoring in a DevOps World
Solidify
 
Tech Talk on Cloud Computing
ITviec
 
Building Scalable Applications with Microsoft Azure
Fisnik Doko
 
Microsoft on AWS
CloudHesive
 
Building azure applications ireland
Michael Meagher
 
Building Real World Applications using Windows Azure - Scott Guthrie, 2nd Dec...
Vikas Sahni
 
Google App engine
Indika Munaweera Kankanamge
 
Advanced Orchestration & Automation
Luc Raeskin
 
Introduction to Google App Engine
saivvit
 
Continuous Delivery: How RightScale Releases Weekly
RightScale
 
CON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptx
SergioBruno21
 
Agile infrastructure
Tarun Rajput
 
Cloud computing
Rohith Shankar
 
Site reliability in the serverless age - Serverless Boston Meetup
Erik Peterson
 
estrat AWS Cloud Breakfast
Paul Cooper
 
Aws pluginfor rd
MidVision
 
Power Your Mobile Applications On The Cloud [IndicThreads Mobile Application ...
IndicThreads
 
Top 5 Java Performance Metrics, Tips & Tricks
AppDynamics
 
Ad

More from Codecamp Romania (15)

PDF
Cezar chitac the edge of experience
Codecamp Romania
 
PPTX
Cloud powered search
Codecamp Romania
 
PPTX
Business analysis techniques exercise your 6-pack
Codecamp Romania
 
PPTX
Bpm company code camp - configuration or coding with pega
Codecamp Romania
 
PDF
Codecamp2015 pimp yourpipeline-saade-jens-1.1
Codecamp Romania
 
PPTX
Code camp iasi silviu niculita - machine learning for mere mortals with azu...
Codecamp Romania
 
PPTX
About leadership
Codecamp Romania
 
PPTX
Business analysis techniques exercise your 6-pack
Codecamp Romania
 
PPT
Andrei prisacaru takingtheunitteststothedatabase
Codecamp Romania
 
PPTX
The bigrewrite
Codecamp Romania
 
PDF
The case for continuous delivery
Codecamp Romania
 
PPTX
Stefan stolniceanu spritekit, 2 d or not 2d
Codecamp Romania
 
PPTX
Sizing epics tales from an agile kingdom
Codecamp Romania
 
PPTX
Scale net apps in aws
Codecamp Romania
 
Cezar chitac the edge of experience
Codecamp Romania
 
Cloud powered search
Codecamp Romania
 
Business analysis techniques exercise your 6-pack
Codecamp Romania
 
Bpm company code camp - configuration or coding with pega
Codecamp Romania
 
Codecamp2015 pimp yourpipeline-saade-jens-1.1
Codecamp Romania
 
Code camp iasi silviu niculita - machine learning for mere mortals with azu...
Codecamp Romania
 
About leadership
Codecamp Romania
 
Business analysis techniques exercise your 6-pack
Codecamp Romania
 
Andrei prisacaru takingtheunitteststothedatabase
Codecamp Romania
 
The bigrewrite
Codecamp Romania
 
The case for continuous delivery
Codecamp Romania
 
Stefan stolniceanu spritekit, 2 d or not 2d
Codecamp Romania
 
Sizing epics tales from an agile kingdom
Codecamp Romania
 
Scale net apps in aws
Codecamp Romania
 

Recently uploaded (20)

PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 

Scale net apps in aws

  • 2. AutoScale .NET Applications in Amazon Web Services Start using auto scale today! Liviu Costea @clm160 Development Lead, BizPro Technologies
  • 3. agenda • Scalability vs Auto Scale? • To be able to scale, you need • A Load Balancer (web applications) • To solve your session issues • Auto Scale means actually monitoring your app
  • 4. beginnings • Why Amazon Web Services (2011)? • Pros: • Infrastructure – easy to start • Mature, big platform • Cons: • No AD Services (added in 2014, improved in 2015) • No SQL Server HA (RDS added in 2014)
  • 5. scalability – what is? • Scalability is the ability of a system, network, or process to handle a growing amount of work in a capable manner or its ability to be enlarged to accommodate that growth - en.wikipedia.org/wiki/Scalability • Vertically and Horizontally © bframe.com
  • 6. autoscaling – what is? • Auto-scaling, also spelled autoscaling, is a cloud computing service feature that automatically adds or removes compute resources depending upon actual usage - itknowledgeexchange.techtarget.com • Mostly horizontally • Scale Up and Down © dev.mlsdigital.net
  • 7. an application • 2 Web Servers with 2 web services each under a LB (2012) • 3 Application Servers each with 2 Windows Services (2012) • 2 to 5 Application Servers each with 2 Windows Services (2015) • 1 SQL Server with 2 databases (2012) • 3 SQS, 1 Memcached (ElastiCache) cluster with 3 nodes (2015)
  • 8. web application - load balancing • AWS Elastic Load Balancer • Hidden public machines - Round Robin on DNS • Has Health Check (out of service) • No IP control • Sometimes you might need a reverse proxy © blog.celingest.com
  • 9. web applications - state • Classic solution – Sticky Sessions – go over it • Build your session for out of process from the start (StateServer, SqlServer, Redis) • Be careful on what you put in Session – loads on every request • Session might timeout • Cache layer for big items
  • 10. code 1 – not working as expected
  • 11. code 2 – working
  • 12. workers • Don’t rely on application machines (OnStart/OnStop) • Your application starts fresh, which is not always great – go for no warm up and if needed load from cache • Your application also needs to be able to stop
  • 13. monitoring your app • Log mechanism outside of the machine (S3, SQL, NoSQL) • Think of monitoring from the start • That it is running • That is doing the right thing • That it is able to process everything
  • 14. monitoring your app • AWS CloudWatch • Standard Metrics • Custom Metrics - PowerShell • Alarms - AWS SNS
  • 15. finally – you can auto scale • Based on metrics you collect: • Go UP • Go DOWN • AWS Limitation: Only on one metric • Machine Images for AutoScale