Google Cloud Platform Blog
DevOps automation with Consul and Google Compute Engine
Thursday, September 17, 2015
Modern organizations need speed and agility to adapt to today's fast pace of changing business priorities. Rapid application updates are only part of the challenge; successful development and operations teams should be able to quickly:
Provision new system architectures (e.g., add Cassandra or Redis)
Deploy to new localities (e.g., expand geographic business)
Ensure cost-effective deployments (e.g., scale up and down based on usage)
Offer resiliency and stability (e.g., implement automation to reduce the number of failure points)
Google Compute Engine
gives a DevOps team the tools to meet many of these challenges by enabling rapid provisioning of additional compute power.
Features such as
Managed Instance Groups
,
Autoscaling
, and
worldwide coverage
help teams solve these challenges, while keeping costs under control with
per-minute billing
and
sustained-use discounts
.
However, some of these challenges affect multiple aspects of an application’s infrastructure. Even simple changes may require service configuration updates (IP addresses, ports, passwords) and restarts across an environment, which is potentially very dangerous to do manually.
Service discovery is one technique for abstracting away complexity by removing hard-coded information from service configurations. The service discovery system is
the source of truth for an architecture, from which all other services are able to reference for cross-system awareness. The end result is that services can move through environments without any manual intervention.
In an architecture that utilizes service discovery, new nodes can be brought up and immediately join a cluster, while old nodes can be destroyed and immediately removed from the cluster. It makes an architecture resilient, and gives operations teams the ability to deploy more frequently without worrying that a configuration will be out of date.
Furthermore, it will often contain some form of health-checking so when systems are dynamically locating each other, they only reach healthy systems.
Consul
is a service discovery tool from
HashiCorp
and it is conceptually similar to other service discovery tools such as
etcd
or
ZooKeeper
. Consul can be a great choice for designing a service-oriented architecture. It can utilize DNS as a means by which services can locate each other and it includes other features such as health checking and multi-datacenter aware deployments. To learn more check out HashiCorp’s educational series
Road to Modern Ops
and try the
Consul tutorial
.
HashiCorp is hosting their inaugural conference at the end of September where I’ll give a
talk
about devops workflow with
Google Cloud Platform
and
Atlas
. After the talk we'll be publishing a follow-up post describing all the ways you can use the HashiCorp suite of tools with Google Cloud Platform. Stay tuned!
- Posted by Julia Ferraioli, Developer Advocate, Google Cloud Platform
No comments :
Post a Comment
Don't Miss Next '17
Use promo code NEXT1720 to save $300 off general admission
REGISTER NOW
Free Trial
GCP Blogs
Big Data & Machine Learning
Kubernetes
GCP Japan Blog
Labels
Announcements
56
Big Data & Machine Learning
91
Compute
156
Containers & Kubernetes
36
CRE
7
Customers
90
Developer Tools & Insights
80
Events
34
Infrastructure
24
Management Tools
39
Networking
18
Open Source
105
Partners
63
Pricing
24
Security & Identity
23
Solutions
16
Stackdriver
19
Storage & Databases
111
Weekly Roundups
16
Archive
2017
Feb
Jan
2016
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2015
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2014
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2013
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2012
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2011
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2010
Dec
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Feed
Subscribe by email
Technical questions? Check us out on
Stack Overflow
.
Subscribe to
our monthly newsletter
.
Google
on
Follow @googlecloud
Follow
Follow
No comments :
Post a Comment