SlideShare une entreprise Scribd logo
1  sur  34
Télécharger pour lire hors ligne
Temporaneous Test Environments
Fergal Hynes
Detailed VM control script walkthrough - #1 of 23
Source - AWS
Test Environments
Technology
TestX
Cost reduction
ContinuousX
Items
that
matters
most to
business
owners
Understand this…
Most organisations target COST as their first key metric
Gartner 2017
Become
relevant!
A Testers Tale..
• Shared environments
• Broken integrations
• Not scalable
• Changing config
Move to public cloud infrastructure can
range from 50%less expensive
to 20%more expensive…mmmh..
CIO Survey 2017:
New investment priorities in next
12 months:
#2 cloud
services/solutions
We’re heading to the cloud, be
on point
So..
A recent application development project, 20 machines
(excl. vcs, build mgmt. etc):
1,456 3,360
hours per week
Vs.
~60% resource saving
(& time = $!)
So..
74% of hours during the year are associated with nights, weekend and annual
leave
1 x 'managed' AWS c4.2xlarge $2.5k per
year saving over un-managed
20 x 'managed' AWS c4.2xlarge
$50k per year saving over un-
managed
200 x 'managed' AWS c4.2xlarge
$500k per year saving
over un-managed
AWS
c4.2xlarge
Event Driven Architecture for Test Environments #1
Event Driven Architecture for Test Environments #2
Be good at…
Analysis
Testing
Environment
Management
Environment Management
An opportunity to
contribute and stand out…
• Fresh technical challenge for testers
• Quick wins
• Valued within DevOps culture
Cloud may not be the best option
Cloud vs On-Prem
Be aware of TCO.
On-Prem involves
Hardware + Electricity +
Maintenance + Space + Risk
Complexity of choices requires a clear
strategy
Beware of information overload re.
services and cost structure…
(Extreme amount of resources are on the web)
You need a strategy
First steps..
Review all
supplier
offerings
Understand
pricing models
Turn off unused
resources
Get discounts /
use free
resources
Right-size all
resources
Use RIs for
always-on
Implement Cloud
Service Expense
Management
Encourage cost
awareness
Understand
pricing models
• AWS – Free-Tier, On-demand
(Premium), RIs and Spot
Instances
• Azure – PAYG, Compute (plans)
• GCE – Sustained Use,
Preemptible
Review frequently
Review all
supplier
offerings
• All use different models
• ‘Intuitive use’ review
• Feature review
• Security review
Turn off unused
resources
• Automate (can use tags..)
• Exercise care to ensure no
prod machines are
impacted
• Terminate != Stop!
Get discounts /
use free
resources
• Free tier prototyping
• 20k-120k credits
• Negotiate big stuff
Review frequently
Right-size all
resources
• Examine constraints
• CPU / RAM / IOPS
• Don’t copy on-prem, you might
have under/oversized –
Opportunity for waste analysis
(LEAN)
• Avoid overbuying
• ‘Burstable’ available
Use RIs for
always-on
• Plan well (years) and consider
B.E.
• Perfect for prod &
ContinuousX machines
• Large discounts (up to 75%)
• Many options available (get
educated)
Review frequently
Implement Cloud
Service Expense
Management
• Native
• Commercial 3rd Party
• Open source
Encourage cost
awareness
• Public display
• Gamification
• Reward
Review frequently
And yes…..
Measurement, always..
% rightsized
% always on using RIs
etc..
Getting Confident?
Tagging Plan Data I/O
Orphaned
Resources
Throttling Free Tools
Tagging Plan
• Naming Convention
• Track resources
• Useful for Turn-Off
strategy
Data I/O
• Internal comms within
cloud is free
• Ingress / Egress
• Unnecessary data egress
must be eliminated
Throttling
• Pause
resources
when not
required
Free Tools
• Many -
Supplier
tools incl.
alerts
Orphaned
Resources
• Terminate!
• Multiple cloud
account users
• Poor tagging
• Automate clean-
up
What’s possible .. quickly
Create a
cloud
account
Learn
with the
user
interface
Use CMD
line
Create +
Terminate
Stop
+ Start
Config
Execute
2 tests in
series
Get logs
off
Design
pipeline
Automate
pipeline
Identify
FOTU
envs
Triggers
Danger – Early VM Orchestration
Be the puppeteer..
Do the simple things
well yourself first, then
orchestrate
Classical first principle approach
serves you and your team well - Eat
the frog
Know how to change
your own wheel yourself
Continuous X..
Integration
Learning
Improvement
Deployment
Testing
Compliance
Think about
‘Abstract first’ approach
containerization
Pricing Dangers
Use pricing calculators but beware, it's a seller
view
Storage is complex, interesting and
potentially very expensive
Use 3rd party CESMs that span all suppliers
"By 2020, DevOps
Initiatives will lead 50%
of enterprises to
implement continuous
testing using
frameworks and open-
source quality tools" Critical Capabilities for Software
Test Automation - Gartner 2017
A Story
A SaaS enterprise product development
for 12 months for €? infrastructure cost
• ~20 VMs
• A lot of IOPS
And when our credits were used
up, we moved to another
infrastructure provider immediately
for more credit
The Mission
Become a Master of Cost
Reduction
Change your role in line with
Technology
Fight to change Security
Policies that discourage
cloud-tech
Employ DevOps principles - You will
attract talented staff!
Test in Prod
Bread-
crumbing
RCA of Prod
Incidents
Shift focus
from Unit
Tests to API
Hire DevOps
Staff
Become Security (Pen
Test) Experts
UB(T)P
Thank You!
https://www.linkedin.com/in/fergalhynes/

Contenu connexe

Tendances

Cloud Economics – Finding Your ROI
Cloud Economics – Finding Your ROICloud Economics – Finding Your ROI
Cloud Economics – Finding Your ROI
Cloudyn
 

Tendances (19)

Datacomm VMWare Hybrid Cloud
Datacomm VMWare Hybrid CloudDatacomm VMWare Hybrid Cloud
Datacomm VMWare Hybrid Cloud
 
Cloud Financial Advisor Introduction & Demo
Cloud Financial Advisor Introduction & DemoCloud Financial Advisor Introduction & Demo
Cloud Financial Advisor Introduction & Demo
 
12 Ways to Manage Cloud Costs and Optimize Cloud Spend
12 Ways to Manage Cloud Costs and Optimize Cloud Spend12 Ways to Manage Cloud Costs and Optimize Cloud Spend
12 Ways to Manage Cloud Costs and Optimize Cloud Spend
 
How to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your EnterpriseHow to Set Up a Cloud Cost Optimization Process for your Enterprise
How to Set Up a Cloud Cost Optimization Process for your Enterprise
 
Increasing your predictability and decreasing your cost with AWS - Simone Br...
Increasing your predictability and decreasing your cost with AWS  - Simone Br...Increasing your predictability and decreasing your cost with AWS  - Simone Br...
Increasing your predictability and decreasing your cost with AWS - Simone Br...
 
Best Practices for AWS Cloud Cost Optimization
Best Practices for AWS Cloud Cost OptimizationBest Practices for AWS Cloud Cost Optimization
Best Practices for AWS Cloud Cost Optimization
 
Efficiency and Cost Optimization: Rightsizing Cloud Resources with Datadog
Efficiency and Cost Optimization: Rightsizing Cloud Resources with DatadogEfficiency and Cost Optimization: Rightsizing Cloud Resources with Datadog
Efficiency and Cost Optimization: Rightsizing Cloud Resources with Datadog
 
10 proven ways to reduce your cloud bill
10 proven ways to reduce your cloud bill10 proven ways to reduce your cloud bill
10 proven ways to reduce your cloud bill
 
Cloud cost optimization (AWS, GCP)
Cloud cost optimization (AWS, GCP)Cloud cost optimization (AWS, GCP)
Cloud cost optimization (AWS, GCP)
 
Using RightScale CMP with Cloud Provider Tools
Using RightScale CMP with Cloud Provider ToolsUsing RightScale CMP with Cloud Provider Tools
Using RightScale CMP with Cloud Provider Tools
 
The 5 Stages of Cloud Management for Enterprises
The 5 Stages of Cloud Management for EnterprisesThe 5 Stages of Cloud Management for Enterprises
The 5 Stages of Cloud Management for Enterprises
 
How to get the most out of your cloud - Microsoft Cloud Day
How to get the most out of your cloud - Microsoft Cloud DayHow to get the most out of your cloud - Microsoft Cloud Day
How to get the most out of your cloud - Microsoft Cloud Day
 
Paving The Way To The Hybrid Cloud
Paving The Way To The Hybrid CloudPaving The Way To The Hybrid Cloud
Paving The Way To The Hybrid Cloud
 
AWS Customer Presentation - Adobe's Foray into the Cloud
AWS Customer Presentation -  Adobe's Foray into the CloudAWS Customer Presentation -  Adobe's Foray into the Cloud
AWS Customer Presentation - Adobe's Foray into the Cloud
 
Eric Routhier: Garder le contrôle sur vos coûts Azure
Eric Routhier: Garder le contrôle sur vos coûts AzureEric Routhier: Garder le contrôle sur vos coûts Azure
Eric Routhier: Garder le contrôle sur vos coûts Azure
 
Tagging Best Practices for Cloud Governance
Tagging Best Practices for Cloud GovernanceTagging Best Practices for Cloud Governance
Tagging Best Practices for Cloud Governance
 
Automating Multi-Cloud Policies for AWS, Azure, Google, and More
Automating Multi-Cloud Policies for AWS, Azure, Google, and MoreAutomating Multi-Cloud Policies for AWS, Azure, Google, and More
Automating Multi-Cloud Policies for AWS, Azure, Google, and More
 
Cloud Economics – Finding Your ROI
Cloud Economics – Finding Your ROICloud Economics – Finding Your ROI
Cloud Economics – Finding Your ROI
 
Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...
Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...
Should You Move Between AWS, Azure, or Google Clouds? Considerations, Pros an...
 

Similaire à International software testing conference 2017 fergal hynes

AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCOAWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
Amazon Web Services
 
Lean Enterprise, Microservices and Big Data
Lean Enterprise, Microservices and Big DataLean Enterprise, Microservices and Big Data
Lean Enterprise, Microservices and Big Data
Stylight
 
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
MLOps and Reproducible ML on AWS with Kubeflow and SageMakerMLOps and Reproducible ML on AWS with Kubeflow and SageMaker
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
Provectus
 

Similaire à International software testing conference 2017 fergal hynes (20)

Webcast: AWS Sticker Shock? How can containers and automation help?
Webcast: AWS Sticker Shock?  How can containers and automation help?Webcast: AWS Sticker Shock?  How can containers and automation help?
Webcast: AWS Sticker Shock? How can containers and automation help?
 
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your DeploymentAWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
 
Cloud Economics, from Genesis to Scale
Cloud Economics, from Genesis to ScaleCloud Economics, from Genesis to Scale
Cloud Economics, from Genesis to Scale
 
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCOAWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
 
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
AWS re:Invent 2016: Start Your Cost Optimization Program: Learning from Intui...
 
TCO
TCO TCO
TCO
 
Optimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS ServicesOptimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS Services
 
From TCO to Optimization at Scale - Pop-up Loft TLV 2017
From TCO to Optimization at Scale - Pop-up Loft TLV 2017From TCO to Optimization at Scale - Pop-up Loft TLV 2017
From TCO to Optimization at Scale - Pop-up Loft TLV 2017
 
Creating A Culture Of Cost Management 11-10-15
Creating A Culture Of Cost Management 11-10-15Creating A Culture Of Cost Management 11-10-15
Creating A Culture Of Cost Management 11-10-15
 
AWS Cloud cost optimization
AWS Cloud cost optimizationAWS Cloud cost optimization
AWS Cloud cost optimization
 
SAP Teched 2012 Session Tec3438 Automate IaaS SAP deployments
SAP Teched 2012 Session Tec3438 Automate IaaS SAP deploymentsSAP Teched 2012 Session Tec3438 Automate IaaS SAP deployments
SAP Teched 2012 Session Tec3438 Automate IaaS SAP deployments
 
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
 
Lean Enterprise, Microservices and Big Data
Lean Enterprise, Microservices and Big DataLean Enterprise, Microservices and Big Data
Lean Enterprise, Microservices and Big Data
 
Building a Real-Time Security Application Using Log Data and Machine Learning...
Building a Real-Time Security Application Using Log Data and Machine Learning...Building a Real-Time Security Application Using Log Data and Machine Learning...
Building a Real-Time Security Application Using Log Data and Machine Learning...
 
Cloudonomics
CloudonomicsCloudonomics
Cloudonomics
 
Optimizing your cloud
Optimizing your cloudOptimizing your cloud
Optimizing your cloud
 
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
 
AWS Sydney Summit 2013 - Big Data Analytics
AWS Sydney Summit 2013 - Big Data AnalyticsAWS Sydney Summit 2013 - Big Data Analytics
AWS Sydney Summit 2013 - Big Data Analytics
 
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
MLOps and Reproducible ML on AWS with Kubeflow and SageMakerMLOps and Reproducible ML on AWS with Kubeflow and SageMaker
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
 
Mistakes we make_and_howto_avoid_them_v0.12
Mistakes we make_and_howto_avoid_them_v0.12Mistakes we make_and_howto_avoid_them_v0.12
Mistakes we make_and_howto_avoid_them_v0.12
 

Dernier

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Dernier (20)

%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 

International software testing conference 2017 fergal hynes