Introducing Ansible modules supporting Google Compute Engine and a brief overview of the Google Cloud Platform. Presented at AnsibleFest 2013 in San Francisco by Eric Johnson.
Pioneering data center efficiency • Financed over 250 Megawatts of new wind power • First data centers to receive IOS 14001 certification • 100% carbon neutral
• Highly Reliable • Flexible Charging • Security, Availability, Durability • EU and US Data Centers • Easy Migration & Data Portability • Control Cloud Platform Cloud SQL
Authentication That Just Works • Fast and Easy Provisioning • RESTful Endpoints • ACID Transactions • Query Language (akin to SQL) • Local Development Tools • Built-in Redundancy Cloud Datastore
Deployment • Focus On Your Code Not Your Server • Automatic Scaling • Popular Programming Language Support • Services (Cron, Queue, Memcache, etc) • Datastore • Versioning and Traffic Splitting • Local Developer Tools • Third-party Frameworks and Extensions App Engine
Disk • Over 64 Instance Types • Standard Linux Distributions • Advanced Networking • Instance Metadata and Startup Scripts • Load Balancing • Persistent Disks, snapshots • Fast and Easy Provisioning • Consistent Performance Google Compute Engine
until RUNNING • Destroy • Specifying instances ◦ `name` for single instances ◦ `instance_names` for >1 • With/without PD boot disk Module Parameters: image instance_names machine_type metadata name network persistent_boot_disk state tags zone
list • Protocol / port range • HTTP HealthChecking Module Parameters: httphealthcheck_name httphealthcheck_port httphealthcheck_path httphealthcheck_interval httphealthcheck_timeout httphealthcheck_unhealthy_count httphealthcheck_healthy_count httphealthcheck_host name protocol region external_ip port_range members state
let’s build a trivial load-balanced web site • Spin up two GCE instances • Install Apache and custom index.html page • Create a custom Health Check URL • Create a Load Balancer and open up TCP:80