SlideShare a Scribd company logo
Testing in a Multi-Cloud
Environment
Seema Jethani
Who am I?
Seema Jethani @seemaj
Senior Product Manager, Dell
( formerly Enstratius / enStratus )
Blog
★http://seemaj.wordpress.com
★http://cloudfieldnotes.com/author/seema/
Slideshare
http://www.slideshare.net/svjethani/
presentations
CLOUDS ARE LIKE
BABIES
Bringing joy
But also presenting...
UNIQUE CHALLENGES
Speaking their own language
Capability Terminology
Account
AWS = Account
Terremark = Organization
Region
AWS = Region
Terremark = Environment
Data center
AWS = Availability Zone
Terremark = Compute Pool
Machine Image
AWS = Machine Image
VMware = Template vApp
Joyent = Datasets
OpenStack = Image
CloudStack, Terremark = Template
Firewall
AWS, OpenStack, CloudStack = Security Group
Terremark = Firewall
Volume
AWS = Elastic Block Storage
VMware, IBM, Terremark = Disk
OpenStack = Cinder or Nova Volume
Partial
List
And are sometimes hard to
work with
Examples of challenging cloud behavior
1. Requiring paperwork / manual processing
2. Requiring calling support to create private images
3. Requiring a new account for new API versions, thus forgetting
backward compatibility
4. Using same API version, but continuing to make changes
5. Taking hours to launch a server or launching server requests
serially
6. Having a ridiculously low cut-off for throttling API requests e.g.
dozens of API calls per second
7. Not providing a way for the VM to discover its own ID
Each is able to do different
things in different ways
Partial Cloud Feature Matrix
Feature AWS Rackspace Terremark Joyent
Launch Server S S S S
Pause Server S NS S S
Make Image S S S NS
Create Snapshot S S NS NS
Create Volume S S NS NS
Create Loadbalancer S S NS NS
Create/ Reserve IP S NS S NS
Examples of the cloud nuances
1.Make Image
CloudSigma requires server to be stopped before making an image
2.Attaching a volume
e.g. Terremark requires the server to be stopped for for volume to
be attached
3.Creating a snapshot
e.g. Make a snapshot from the volume fails in CloudCentral if the
Volume is not attached to a server
4.Connecting via ssh
CloudSigma requires users to access a centos server via vnc first
to enable ssh
Cloud requires us to
rethink our testing
approach
We need to learn “cloud speak”
Understand differences in behavior
But also importantly
Plan for failure
How is this different?
Customers expect cloud failure
but also
Expect recovery from cloud behavior to be transparent. They
don’t care about root cause infrastructure issues
Test for failure , auto-recovery , MTTR
How is this different?
Customers expect cloud failure
But don’t expect it to impact their business
Test for cloud failure and its impact on customer application
performance.
Enstratius testing journey
Enstratius Cloud Management Platform
The release process
build
Today
Artifacts Installer API tests
Github
Artifactory
Vagrant
AWS
Jenkins
ReportNG Report
Automated
Test
Framework
(TestNG)
GitHub
Enstratius
API Server
Cloud A
Cloud Z
estrov
ant
API Test Framework
Cloud account
access keys, test
configs
HeaderConfig.xml
Cloud specific
resource/method
exclusions
JSON/XML Inputs for
REST Calls common
to all clouds
Setup Test bed on Cloud under test
Tear Down Test bed on Cloud under test
UpdateAdd Delete List
Atomic Tests
Cloud Specific Inputs
for REST Calls (if any)
estrov
API test workflow
<?xml&version="1.0"&encoding="UTF98"?>!
<cloudService!name="AWS">!
<excluded>!
<resource!name="kvdb"!/>!
<resource!name="customer">!
<method!name="add"!/>!
<method!name="changeCurrency"!/>!
<method!name="revertCurrency"!/>!
<method!name="setTimeZone"!/>!
<method!name="revertTimeZone"!/>!
</resource>!
</excluded>!
</cloudService>
{"addLoadBalancer":!
[!
{!
"region":{"regionId":REGION_ID},!
"budget":BILLINGCODE_ID,!
"description":"TestNG_Trial_LB",!
"name":DYNAMIC,!
"label":"red",!
"customer":{"customerId":CUSTOMER_ID},!
"dataCenters":[{"dataCenterId":DATACENTER_ID}],!
"owningGroups":[{"groupId":GROUP_ID}],!
"listeners":!
[{"protocol":"HTTP","publicPort":80,"privatePort":80}]!
}!
]!
}
start
Read the cloud
access keys & test
configs
Iterate through the
test resources
Exclude
Resource
?
Run atomic tests
Generate report
Headerconfig.xml
AWS.xml
Read resource/
method inputs
<?xml&version="1.0"&encoding="UTF98"&standalone="no"?>!
<CONFIG>!
<BILLINGCODE_ID>403</BILLINGCODE_ID>!
<USER_ID>50950</USER_ID>!!
<DUPLICATE_BILLING_ID>402</DUPLICATE_BILLING_ID>!
<DUPLICATE_GRP_ID>501</DUPLICATE_GRP_ID>!
<ROLE_ID>55501</ROLE_ID>!
<GROUP_ID>500</GROUP_ID>!!
<ACCOUNT_ID>200</ACCOUNT_ID>!
<CLOUD_ID>1</CLOUD_ID>!
<CUSTOMER_ID>200</CUSTOMER_ID>!
</CONFIG>
Generate
Dependency
resources
<?xml&version="1.0"&encoding="UTF98"&standalone="yes"?>!
<header>!
<csp>AWS</csp>!
<resource>all</resource>!
<accessKey>aws_accesskey</accessKey>!
<secretKey>aws_secretkey</secretKey>!
<apiServer>enstratius_apiserver_ip</apiServer>!
<apiServerPort>enstratius_apiserver_port</apiServerPort>!
<version>enstratius_apiserver_version</version>!
<testForFailure>false</testForFailure>!
</header>
stop
Loadbalancer/add.json
Config_200.xml
Finished iterating
Yes
No
The extra steps
1. Not all functions are supported by all clouds. An exclusion list
needs to be maintained.
2. Cloud specific behavior needs to be coded
e.g. Terremark requires the server to be stopped for for volume to be
attached
3. Sanity check - Issues found must be verified directly using cloud
console / cloud API
Build
Near-term updates
Artifacts Launch
API testsGithub
Artifactory
AWS
Jenkins
Installer
Checkout Teardown
Build
Future
Artifacts Launch
API testsGithub
Artifactory
AWS
Jenkins
Installer
1. Checkout 6. Teardown
Selenium
Other tools on the radar
Visualizing performance
http://twitter.github.io/zipkin/
Vulnerability scans

More Related Content

PDF
How did we get here and where are we going
PDF
There is No Server: Immutable Infrastructure and Serverless Architecture
PDF
AMIMOTO: WordPress + Amazon Web Services Hands-on WARSAW
PDF
WordPress + Amazon Web Services Hands-on WARSAW
PDF
Adopting Java for the Serverless world at JUG Hamburg
PDF
20211120 Automating EC2 operations / EC2運用の自動化
PDF
You wouldn't build a toast, would you?
PDF
AWS CloudFormation Tutorial | AWS CloudFormation Demo | AWS Tutorial | AWS Tr...
How did we get here and where are we going
There is No Server: Immutable Infrastructure and Serverless Architecture
AMIMOTO: WordPress + Amazon Web Services Hands-on WARSAW
WordPress + Amazon Web Services Hands-on WARSAW
Adopting Java for the Serverless world at JUG Hamburg
20211120 Automating EC2 operations / EC2運用の自動化
You wouldn't build a toast, would you?
AWS CloudFormation Tutorial | AWS CloudFormation Demo | AWS Tutorial | AWS Tr...

What's hot (12)

PDF
Security in serverless world
PPTX
Azure from scratch part 4
PPTX
Azure from scratch Part 1 By Girish Kalamati
PDF
Adopting Java for the Serverless world at IT Tage
PPTX
Building Node.js applications for Microsoft Azure cloud
PPTX
Getting Started with Amazon ECS: Run Docker Containers on AWS
PDF
Cloud level scalability - Nuxeo Tour 2014
PPTX
IT automation: Make the server great again - toulouse devops fev 2017
KEY
Sjug aug 2010_cloud
PPT
Fowa Miami 09 Cloud Computing Workshop
PPTX
Experts live2016 - Karim Vaes - end-to-end automation
PDF
Adapting Java for the Serverless World at JUG Barcelona
Security in serverless world
Azure from scratch part 4
Azure from scratch Part 1 By Girish Kalamati
Adopting Java for the Serverless world at IT Tage
Building Node.js applications for Microsoft Azure cloud
Getting Started with Amazon ECS: Run Docker Containers on AWS
Cloud level scalability - Nuxeo Tour 2014
IT automation: Make the server great again - toulouse devops fev 2017
Sjug aug 2010_cloud
Fowa Miami 09 Cloud Computing Workshop
Experts live2016 - Karim Vaes - end-to-end automation
Adapting Java for the Serverless World at JUG Barcelona
Ad

Viewers also liked (19)

PPTX
Continuous Testing in the Cloud
PPTX
The Mobile Testing Checklist
PDF
Blokland & Mengerink - Testing Cloud Services - EuroSTAR 2012
PDF
Pros & Cons: Cloud-Based Software Testing
PPT
Cloud testing
PPTX
Parallel Test Runs with Appium on Real Mobile Devices – Hands-on Webinar
PDF
Cloud_Testing_The_future_of_softwareV1.04
PPTX
Software Testing ppt
PPTX
Cloud Testing by Suganya M
PPTX
Cloud based testing
PPT
Cloud Testing: The Future of software Testing
PPTX
Cloud Testing
PDF
Agile Testing in the Cloud
PPTX
Cloud testing
PDF
Cloud testing
PDF
Performance Testing in the Cloud
PPTX
Cloud testing
PDF
Cloud testing: challenges and opportunities, TaaS, Integration Testing
PPT
Cloud computing simple ppt
Continuous Testing in the Cloud
The Mobile Testing Checklist
Blokland & Mengerink - Testing Cloud Services - EuroSTAR 2012
Pros & Cons: Cloud-Based Software Testing
Cloud testing
Parallel Test Runs with Appium on Real Mobile Devices – Hands-on Webinar
Cloud_Testing_The_future_of_softwareV1.04
Software Testing ppt
Cloud Testing by Suganya M
Cloud based testing
Cloud Testing: The Future of software Testing
Cloud Testing
Agile Testing in the Cloud
Cloud testing
Cloud testing
Performance Testing in the Cloud
Cloud testing
Cloud testing: challenges and opportunities, TaaS, Integration Testing
Cloud computing simple ppt
Ad

Similar to Multi-Cloud testing (20)

PDF
Automated scaling of microservice stacks for JavaEE applications - JEEConf 2017
PDF
JEEconf 2017
PDF
Dallas Breakfast Seminar
PDF
Automated Scaling of Microservice Stacks for JavaEE Applications
PPTX
Java and windows azure cloud service
PPTX
Identifying Workloads to Move to the Cloud
PDF
Chef and Apache CloudStack (ChefConf 2014)
PDF
CloudStack - Top 5 Technical Issues and Troubleshooting
PPTX
Ansible & CloudStack - Configuration Management
PDF
Paul Angus (ShapeBlue) - Push infrastructure with Ansible #DOXLON
PPTX
AWS Summit Melbourne 2014 | The Path to Business Agility for Vodafone: How Am...
PPTX
Becoming the master of disaster... with asr
PPTX
Create Agile, Automated and Predictable IT Infrastructure in the Cloud
PDF
Java in the Cloud : PaaS Platforms in Comparison
PDF
Java in the Cloud : PaaS Platforms in Comparison
PPTX
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
PPTX
Terraform for azure: the good, the bad and the ugly -
PPTX
AWS FIS の実験テンプレートを書いてみよう!!
PDF
Halifax DevOps - Meet-up - July.19 2017
PPTX
Designing cloud stack clouds geoff higginbottom/shapeblue
Automated scaling of microservice stacks for JavaEE applications - JEEConf 2017
JEEconf 2017
Dallas Breakfast Seminar
Automated Scaling of Microservice Stacks for JavaEE Applications
Java and windows azure cloud service
Identifying Workloads to Move to the Cloud
Chef and Apache CloudStack (ChefConf 2014)
CloudStack - Top 5 Technical Issues and Troubleshooting
Ansible & CloudStack - Configuration Management
Paul Angus (ShapeBlue) - Push infrastructure with Ansible #DOXLON
AWS Summit Melbourne 2014 | The Path to Business Agility for Vodafone: How Am...
Becoming the master of disaster... with asr
Create Agile, Automated and Predictable IT Infrastructure in the Cloud
Java in the Cloud : PaaS Platforms in Comparison
Java in the Cloud : PaaS Platforms in Comparison
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Terraform for azure: the good, the bad and the ugly -
AWS FIS の実験テンプレートを書いてみよう!!
Halifax DevOps - Meet-up - July.19 2017
Designing cloud stack clouds geoff higginbottom/shapeblue

More from Seema Jethani (6)

PDF
An approach from classic to contemporary software development
PPTX
Approach to Development Tools and Technology Choices
PDF
7 virtues of an IoT application
PPT
Develop Deploy Scale
PPTX
Cloud Applications Management Nirvana
PPTX
Programmable data center
An approach from classic to contemporary software development
Approach to Development Tools and Technology Choices
7 virtues of an IoT application
Develop Deploy Scale
Cloud Applications Management Nirvana
Programmable data center

Recently uploaded (20)

PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPT
Teaching material agriculture food technology
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Teaching material agriculture food technology
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
CIFDAQ's Market Insight: SEC Turns Pro Crypto
20250228 LYD VKU AI Blended-Learning.pptx
GamePlan Trading System Review: Professional Trader's Honest Take
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
The AUB Centre for AI in Media Proposal.docx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Monthly Chronicles - July 2025
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
MYSQL Presentation for SQL database connectivity
Dropbox Q2 2025 Financial Results & Investor Presentation
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Multi-Cloud testing