Google Cloud Platform Blog
Product updates, customer stories, and tips and tricks on Google Cloud Platform
DevOps automation with Consul and Google Compute Engine
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
Free Trial
Labels
Android
Announcement
api
app engine
Atmosphere Live
bigquery
BigTable
CDN
Cloud Console
Cloud Dataflow
Cloud Datastore
cloud endpoints
Cloud Pub/Sub
Cloud SDK
cloud sql
cloud storage
Cloudera
Compute
Compute Engine
container cluster
customer
Dev Tools
developer tools
developer-insights
Developers
Developers Console
devfests
Disaster Recovery
Encryption Keys
ESG
Event
events
GA
Go Client
Google App Engine
Google Apps
Google BigQuery
Google Cloud Deployment Manager
Google Cloud Networking
Google Cloud Platform
Google Cloud Storage
Google Compute Engine
Google Container Engine
gRPC
hadoop
Hardware
Helium
how to
IO2013
iOS
Kubernetes
Levyx
Local SSD
mapreduce
Media
Nearline
networking
open source
PaaS Solution
Partner
Pricing
Research
round-up
Server
Siggraph
solutions
Startup
Tableau
TCO
Technical
Windows
Wowza
Zync
Archive
2015
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
Technical questions? Check us out on
Stack Overflow
.
Subscribe to
our monthly newsletter
.
Follow @googlecloud
No comments :
Post a Comment