WebGIS Automation Using Chef
Transcript of WebGIS Automation Using Chef
![Page 1: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/1.jpg)
WebGIS Automation Using ChefCherry Lin
Pavel Bobov
March 8–11, 2016 | Palm Springs, CA
Esri Developer Summit
![Page 2: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/2.jpg)
Quick Survey
1. Esri Software
2. IT automation experience
3. Chef
![Page 3: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/3.jpg)
Agenda
• Why WebGIS Automation
• Chef and WebGIS Automation
• Deployment Options
• ArcGIS Chef Cookbook
![Page 4: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/4.jpg)
Why WebGIS Automation
![Page 5: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/5.jpg)
ArcGIS is a BIG platform
Web GIS
Standard…
GEE… …
ArcGIS is a BIG platform Desktop Web Device
GIS Server Sites
Online Content and Services
Portal
ArcGIS is a BIG platform
Desktop/Pro
ArcGIS Web Adaptor
ArcGISWeb Adaptor
ArcGIS Data
Store/Big Data Store
![Page 6: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/6.jpg)
RecoveryProduction
Dev QA
Business – Critical Deployments
• Reliable infrastructure- Repeatable- Testable
• Fast Disaster Recovery
• Moving between data centers
![Page 7: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/7.jpg)
• Disposable machines
• Rapid auto-scalingArcGIS
ArcGIS
ArcGIS
Cloud Environments
![Page 8: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/8.jpg)
• Simplifies deployment and upgrade procedures
• Focus more on GIS tasks
• From Esri: Ready-to-use tools with minimum requirements to start
Everybody
![Page 9: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/9.jpg)
Chef and WebGIS Automation
![Page 10: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/10.jpg)
Chef
• One of the fast growing IT automation platforms
• Supported on Windows and Linux
• Open source
![Page 11: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/11.jpg)
Some Chef Components
• Recipes
• Cookbook
• Attributes, resources, providers……
• Chef-server, client, solo
![Page 12: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/12.jpg)
Demo: WebGISDeployment using Chef
![Page 13: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/13.jpg)
What did Chef just do?
• Install IIS if it’s not installed. • Configure IIS (Tomcat on Linux) with https using the provided CA cert or generate a
self-signed cert.• ArcGIS Server: Install; Authorize; Create site.• WA: Install; Configure for ArcGIS Server.• Data Store: Install; Register it with ArcGIS Server.• Portal for ArcGIS: Install; Authorize; Create Portal.• WA: Install; Configure for Portal.• Federate ArcGIS Server with Portal.• Set the ArcGIS Server as the hosting Server.
![Page 14: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/14.jpg)
What are steps?
• 5 steps at
https://github.com/Esri/arcgis-cookbook/wiki/Get-Started-With-ArcGIS-Cookbook
![Page 15: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/15.jpg)
Other Deployment Options
![Page 16: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/16.jpg)
HA WebGIS
……….
Registered
Federated
![Page 17: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/17.jpg)
All on Different Machines
Registered
![Page 18: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/18.jpg)
Server GIS
![Page 19: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/19.jpg)
Other ArcGIS Software
![Page 20: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/20.jpg)
ArcGIS Chef Cookbook
![Page 21: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/21.jpg)
Supported ArcGIS Software
• ArcGIS Server• ArcGIS Data Store• Portal for ArcGIS• ArcGIS Web Adaptor• ArcGIS Pro• ArcGIS Desktop• ArcGIS License Manager• ArcGIS GeoEvent Extension for Server
![Page 22: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/22.jpg)
Supported Platforms
• Windows 7• Windows 8 (8.1)
- 8.1 requires .Net Framework 3.5
• Windows Server 2008 (R2)• Windows Server 2012 (R2)• Ubuntu LTS 14.04 (when deploying ArcGIS for Server on Amazon Web Services)• RHEL 6.5 • RHEL 7.0
![Page 23: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/23.jpg)
• system Ensures system requirements
• all_installed Installs Server, Data Store, Portal, and Web Adaptors
• iis Enables required IIS features and configures HTTPS binding
• server Installs and configures ArcGIS Server
• server_wa Installs Web Adaptor and configures it with ArcGIS Server
• portal Installs and configures Portal for ArcGIS
• portal_wa Installs Web Adaptor and configures it with Portal for ArcGIS
• datastore Installs and configures ArcGIS Data Store
• egdb Registers GeoDatabases with server
• federation Federates ArcGIS Server with Portal for ArcGIS
• ……
ArcGIS Cookbook Recipes
Chef uses Ruby as its reference language.
![Page 24: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/24.jpg)
Demo: Explore ArcGIS cookbook
![Page 25: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/25.jpg)
Define You Own
![Page 26: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/26.jpg)
Define You Own
![Page 27: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/27.jpg)
Advanced Chef Deployment Options
• Community Chef cookbooks• New Cookbooks• Chef-Server• Test Kitchen• Packer• ……
Combine with other community cookbooks
Pick the recipes you need
Take ready to use ArcGIS cookbooks
Write new recipes
Write your own cookbook
![Page 28: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/28.jpg)
• Doc:- External:
- https://github.com/Esri/arcgis-cookbook/wiki/Get-Started-With-ArcGIS-Cookbook
• Issues/Contributes:- Contact Tech Support
10.4 Resources
![Page 29: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/29.jpg)
• Building your first WebGIS- Friday (3/11/2015) 8:30am
DevSummit Session
![Page 30: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/30.jpg)
Please Take Our Survey! – No more memorizing Session ID numbers!!
Download the Esri Events app and find your event
Select the session youattended
Scroll down to the “Feedback” section
Complete Answers,add a Comment,
and Select “Submit”
![Page 31: WebGIS Automation Using Chef](https://reader030.fdocuments.net/reader030/viewer/2022013005/58808c931a28ab19148b6ef7/html5/thumbnails/31.jpg)