11. digitalocean.com
Why do I need such a tool?
Cattle vs Pets
Easier to provision resources for a given
application.
Better utilization of computing resources.
19. Dokku
digitalocean.com
Good for teams used to heroku
Optimised for a single box experience
Pre built images on DigitalOcean
Extensible using plugins
23. Embedded data storage
Built in security out of the box
Orchestration and cluster management
By default, also execute work.
Typically 3, 5 or 7 in a HA production cluster
Manager
digitalocean.com
24. Take work and report status back
Can scale to several nodes
Worker nodes
digitalocean.com
37. Get the output from any container in a central
place
Useful for graphs and learning more about your
data
ELK stack
Centralized Logging
digitalocean.com
38. Know how your cluster (and apps) is behaving in
real time.
Alerting
Useful for knowing when to add more nodes to
your cluster.
Prometheus, Grafana, Collectd, cAdvisor,
Fluentd
Telemetry
digitalocean.com
39. Automate the steps to get from a droplet to a
functioning node on your cluster
Downscaling is important too
Terraform, Ansible, Chef, Puppet
Provisioning automation
digitalocean.com
In this talk I would like to talk about how to get first started with microservices using DigitalOcean. This is not going to be a deep dive on any particular approach, but rather a overview about some options here. In the break time, I will be available for any type of questions that you may have about any of the topics covered here.
Droplet is our main product. It allows you to quickly get access to computing resources on our infrastructure. We support not only plain OS installations, but also one-click installs for a plenty of services.
/
Block storage allow to create highly available and growable persistent storage devices
Private networking for internal droplet to droplet communication. Floating IPs, so you can redirect network traffic between any of your Droplets within the same datacenter using a Floating IP, a static IP address that points to one of your Droplets. With Floating IPs, you can create highly available server structures without a single point of failure.
It helps you to have better utilization of resources.
We love open source at digitalocean. With our simple constructs, we don’t promote any type of lock-in to our solutions.
Everything runs on a same box. It makes monitoring its health easier.
Support heroku build packs and several plugins (letsencrypt, postgres/mysql, elastic search)
Great way to get started if you have only a few services
Introduced on docker 1.12
No need for storing a separate data storage like zookeeper, etcd or consul. Raft protocol for strongly consistent data storage
Gossip
Join token. Automatic
Certificates automatically expire and rotate every 90 days without manual interaction.
The “downsides”
Created by google. “Planet scale”
E.g. Jobs the other hand, a number of PaaS systems run on Kubernetes, such as Openshift, Deis, and Gondor. You could also roll your own custom PaaS, integrate with a CI system of your choice, or get along just fine with just Kubernetes: bring your container images and deploy them on Kubernetes.
Since Kubernetes operates at the application level rather than at just the hardware level, it provides some generally applicable features common to PaaS offerings, such as deployment, scaling, load balancing, logging, monitoring, etc. However, Kubernetes is not monolithic, and these default solutions are optional and pluggable.
Created by google. “Planet scale”
E.g. Jobs the other hand, a number of PaaS systems run on Kubernetes, such as Openshift, Deis, and Gondor. You could also roll your own custom PaaS, integrate with a CI system of your choice, or get along just fine with just Kubernetes: bring your container images and deploy them on Kubernetes.
Since Kubernetes operates at the application level rather than at just the hardware level, it provides some generally applicable features common to PaaS offerings, such as deployment, scaling, load balancing, logging, monitoring, etc. However, Kubernetes is not monolithic, and these default solutions are optional and pluggable.