Disposable Testing Environments: There's Nothing Like Production Except Production
-
Upload
atlassian -
Category
Technology
-
view
868 -
download
1
description
Transcript of Disposable Testing Environments: There's Nothing Like Production Except Production
![Page 1: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/1.jpg)
Monday, June 18, 12
![Page 2: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/2.jpg)
Architect, EyefinityJay Ballinger
There's nothing like production, except production
Disposable testing environments
Monday, June 18, 12
![Page 3: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/3.jpg)
What does your
sandbox look like?
Monday, June 18, 12
![Page 4: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/4.jpg)
The path to a production sandboxEvaluate your current sandbox
A sandbox scenario
Benefits of a disposable production sandbox
Gotchas with using a production copy
Suggestions for successful sandboxes
Monday, June 18, 12
![Page 5: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/5.jpg)
How sandboxes are bornYour testing/staging attempt.
The first install before doing it for real.
A private just for us admins.
Restored from a backup.
Leftover instance by another team.
Monday, June 18, 12
![Page 6: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/6.jpg)
• Testing new plugins
• Playing with permissions
• Thinking about themes
• Wondering "what if"
How useful is your non-production sandbox?
Useful
Monday, June 18, 12
![Page 7: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/7.jpg)
• Testing new plugins
• Playing with permissions
• Thinking about themes
• Wondering "what if"
How useful is your non-production sandbox?
• Undo a mistake
• Investigate a problem
• Understanding upgrades
• What to expect when you make a change 'for real'
Useful Not Useful
Monday, June 18, 12
![Page 8: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/8.jpg)
A real-life scenario...
Monday, June 18, 12
![Page 9: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/9.jpg)
Moving a Space...
Monday, June 18, 12
![Page 10: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/10.jpg)
Moving a Space...
Monday, June 18, 12
![Page 11: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/11.jpg)
There is no safe, first-class way to copy a space.
Moving a Space...not exactly easy
Monday, June 18, 12
![Page 12: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/12.jpg)
It gets worse...We should upgrade at thesame time we import the 'other' Confluence.
Monday, June 18, 12
![Page 13: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/13.jpg)
Two risky operations.Perfect need for a sandbox.
Monday, June 18, 12
![Page 14: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/14.jpg)
How much downtime is needed for this maintenance?In what order should this be done?What to do if it all goes wrong?What will it look like when all done?
Only production can answer these
?Monday, June 18, 12
![Page 15: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/15.jpg)
#summit12
There's nothing is like production, except production.
Monday, June 18, 12
![Page 16: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/16.jpg)
Production-sized databaseProduction-sized attachmentsProduction-sized complexityProduction-sized problems
Production provides...
Monday, June 18, 12
![Page 17: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/17.jpg)
Elements of the sandbox
Servlet Container& webapp
Database homeindexes & attachments
Monday, June 18, 12
![Page 18: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/18.jpg)
Simple setupOne server instance
Monday, June 18, 12
![Page 19: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/19.jpg)
Confluence can run in a VMCopy entire 'machine'Make an exact copyTake snapshots
Virtual Machine to the rescue
might even be your backup strategy, eh?
for rollback/undo after a mistake
Monday, June 18, 12
![Page 20: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/20.jpg)
IP address and portsPlugins - like email checker as an exampleBase URLs Trusted applicationsFile space for images of the VM
Virtual Machine gotchas
Monday, June 18, 12
![Page 21: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/21.jpg)
Very different url / name / portAnnouncement banner screaming THIS IS NOT REALTry to match production performanceAutomate the VM copy action
Suggestions for sandbox
Monday, June 18, 12
![Page 22: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/22.jpg)
Snapshots and Rollbacks
Write cookbook for repeatable steps
Rehearse upgrade
Record timing on steps
Answer production questions
Confidence
Benefits of disposable VMs
Monday, June 18, 12
![Page 23: Disposable Testing Environments: There's Nothing Like Production Except Production](https://reader033.fdocuments.net/reader033/viewer/2022051816/546e5926b4af9fd7268b45ec/html5/thumbnails/23.jpg)
Thank you!
Monday, June 18, 12