windows applications in the cloud
TRANSCRIPT
![Page 1: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/1.jpg)
1
![Page 2: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/2.jpg)
2
Moving Windows to the CloudRaphael Simon, Sr. Systems Architect
![Page 3: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/3.jpg)
3
Windows in the Cloud without RightScale
• Windows images inconsistent• Do not follow best practices• Use root partition for everything
• Pre-install all required software• Bake in license• Custom configuration• Long development iterations
• No consistent automation• Trust relationships hard-coded• Ad-hoc orchestration
![Page 4: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/4.jpg)
4
Windows in the Cloud with RightScale
![Page 5: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/5.jpg)
5
Moving Windows to the Cloud
• Windows images inconsistent• Do not follow best practices• Use root partition for everything
• Pre-install all required software• Bake in license• Custom configuration• Long development iterations
• No consistent automation• Trust relationships hard-coded• Ad-hoc orchestration
![Page 6: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/6.jpg)
6
Windows RightImages
• Consistent settings• Across regions and clouds• Firewall, file sharing, SQL Server install, ASP.NET install
• Follow best practices• Bigger root partition• Use volumes for database files
• Work in progress, keeps improving
![Page 7: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/7.jpg)
7
Windows MultiCloud Images
Combination of:• 2003 / 2008• 32 bit / 64 bit• Bare / IIS / SQL Server Std• RightLink installer for
installing RightLink on pre-existing Windows images
![Page 8: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/8.jpg)
8
Moving Windows to the Cloud
• Windows images inconsistent• Do not follow best practices• Use root partition for everything
• Pre-install all required software• Bake in license• Custom configuration• Long development iterations
• No consistent automation• Trust relationships hard-coded• Ad-hoc orchestration
![Page 9: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/9.jpg)
9
ServerTemplates: Built-to-Order Servers
Virtual machine
OS
Storage volumes
Networking
SQL Server/ASP.NET…
App Libraries
RightImages &Multi-Cloud Images• Standard image “API”
Cloud Portability• Standard configuration
Application
Applications• Cloud independent
Modular – Portable – Reproducible
![Page 10: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/10.jpg)
10
RightScale ServerTemplates vs. Images
• Big & opaque• Complex to reproduce• Static• Not cloud-portable
Slow workflow Not cloud-agile
• Modular & flexible• Reproducible & maintainable• Dynamic & agile• Multi-cloud enabled
Dev-like workflow Dynamic configuration
Virtual Machine Images RightScale ServerTemplates
![Page 11: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/11.jpg)
11
ServerTemplates: A Closer Look
• Starts with a multicloud image• Defines base software
• Adds:• Boot, operational and
decommission RightScripts and/or recipes for configuration
• Alerts definitions for automation
• ServerTemplates are versioned• Reproduce exact configuration
• ServerTemplates can be published/imported• Sharing / reuse
![Page 12: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/12.jpg)
12
Monitoring and Alerts• Monitoring recipe for CPU,
memory and disk space
• Create monitoring scripts to monitor custom data• Written in a ruby DSL• Can leverage WMI• Completely dynamic: Add/remove
monitoring scripts at any time
• Use monitored data to create Alerts• Can use elaborate rules to define alerting conditions• Alert escalations can send emails, reboot server, relaunch
server, run a RightScript or recipe, vote array grow and vote array shrink
![Page 13: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/13.jpg)
13
Hands-On Creating a Domain Controller ServerTemplate
![Page 14: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/14.jpg)
14
Moving Windows to the Cloud
• Windows images inconsistent• Do not follow best practices• Use root partition for everything
• Pre-install all required software• Bake in license• Custom configuration• Long development iterations
• No consistent automation• Trust relationships hard-coded• Ad-hoc orchestration
![Page 15: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/15.jpg)
15
What is RightLink?
• Functions•Receive commands from RS•Query RightScale (instance API)•Locate related servers
• Open-source Agent•Extensible•Transparent
• Secure•Signed & encrypted AMQP transport•Deployment scope
RightScaleTagstore
server1
RL
server2
RL
serverA
RL
serverB
RL
Production Development
![Page 16: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/16.jpg)
16
Leveraging RightLink• RightLink provides the following Chef resources
• Log: appends to local log and audits (audits are visible in the dashboard)• RightLink tag: Add or remove tags from instance • Remote recipe: Run recipes on remote instances (route by tag)• Server collection: Query instances by tags
• RightLink-enabled images also include the following utilities• rs_tag.cmd: Add or remove tags from instance• rs_run_right_script.cmd: Run RightScript on local instance. Starting with
5.6 also run RightScripts on remote instances• rs_run_recipe.cmd: Run recipes on local instance. Starting with 5.6 also
run recipes on remote instances• rs_server_collection.cmd: Starting with 5.6 query instances by tags
![Page 17: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/17.jpg)
17
Hands-onAutomatic User Creation
![Page 18: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/18.jpg)
18
Where Are We?• Underlying infrastructure in place
• RightImage 5.5 GA
• Time to build-up the stack• Expect more production ready ServerTemplates in the near future• What do you need?
![Page 19: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/19.jpg)
19
![Page 20: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/20.jpg)
20
Windows Best Practices• License keys registration
• Install software on boot: License key is an input that is used to generate the answer file
• Bake software into image: Write Powershell script which registers key on boot
• System updates management• Updates disabled by default• Cherry-pick updates, test, sysprep & bundle (use provided RightScript)• Roll new image
![Page 21: Windows Applications in the Cloud](https://reader031.vdocuments.mx/reader031/viewer/2022032514/55d536babb61eb9c0f8b45be/html5/thumbnails/21.jpg)
21
When to Install Software
• Faster startups• Attended installers
• Dynamic installation• Easier maintenance• Licensing
Bake into image for: Install on boot for:
When you have no choice Whenever you can