<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DigitalOcean on Jason Stangroome</title>
		<link>/tags/digitalocean/</link>
		<description>Recent content in DigitalOcean on Jason Stangroome</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Wed, 04 Oct 2017 08:24:14 +0000</lastBuildDate>
		
			<atom:link href="/tags/digitalocean/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Lessons from DigitalOcean Networking</title>
				<link>/2017/10/04/lessons-from-digitalocean-networking/</link>
				<pubDate>Wed, 04 Oct 2017 08:24:14 +0000</pubDate>
				<guid>/2017/10/04/lessons-from-digitalocean-networking/</guid>
				<description>&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; On 2017-DEC-13, &lt;a href=&#34;https://www.digitalocean.com/community/tutorials/digitalocean-private-networking-faq&#34;&gt;DigitalOcean announced that private networking will be isolated to each account&lt;/a&gt; beginning February 2018.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;If you&amp;rsquo;ve come from running virtual machines on AWS, Azure, or Google Cloud, you will be familiar with the idea that the VMs can have a public Internet-facing IP address and a private IP address, or some combination or multiple of the two options. DigitalOcean offers something similar, but just different enough to throw you when you&amp;rsquo;re accustomed to the networking models of the other cloud providers. When you create a DigitalOcean Droplet via their Control Panel, or &lt;a href=&#34;https://developers.digitalocean.com/documentation/v2/#create-a-new-droplet&#34;&gt;via their API&lt;/a&gt;, you have the option to enable &amp;ldquo;Private networking&amp;rdquo; but when you read &lt;a href=&#34;https://www.digitalocean.com/community/tutorials/how-to-set-up-and-use-digitalocean-private-networking&#34;&gt;the official documentation&lt;/a&gt;, this feature is actually called &amp;ldquo;Shared private networking&amp;rdquo; and it is a very important distinction. Where private networking in AWS, Azure, or Google Cloud gives your VM a private interface to a network shared only with your VMs, the shared private networking in DigitalOcean is, according to &lt;a href=&#34;https://www.digitalocean.com/community/tutorials/how-to-isolate-servers-within-a-private-network-using-iptables&#34;&gt;this DigitalOcean tutorial&lt;/a&gt;, &amp;ldquo;accessible to other VPSs in the same datacenter&amp;ndash;which includes the VPSs of other customers in the same datacenter&amp;rdquo;. And I have verified that statement is true. To clarify, if you enable private networking on a DigitalOcean VM in their SFO2 region, every other VM in the SFO2 region from every other DigitalOcean customer can route packets to your VM&amp;rsquo;s private network interface. While I advocate the use of strict firewall configurations in any cloud hosting environment, the importance of doing so correctly is much higher on DigitalOcean, even for non-Production environments where firewalls have a history of being more relaxed. The bright side of all this is that DigitalOcean&amp;rsquo;s &lt;a href=&#34;https://www.digitalocean.com/community/tutorials/how-to-organize-digitalocean-cloud-firewalls#using-tags&#34;&gt;tag-based Cloud Firewall&lt;/a&gt; applies to both the public and private network interfaces and implements a deny-by-default behaviour. By using tags to restrict which other droplets are permitted to communicate on specific ports and protocols you can achieve a very similar level of isolation as offered by other cloud providers. There is another caveat though: to improve the security of this shared private networking environment, &lt;a href=&#34;https://www.digitalocean.com/community/questions/nat-gateway-on-digital-ocean-s-droplet-possible?answer=13896&#34;&gt;DigitalOcean do not allow&lt;/a&gt; VMs to send packets with a source IP address that does not match their assigned private IP address. This prevents you, for example, from operating one DigitalOcean VM as a Virtual Private Network gateway for your other DigitalOcean VMs to connect through to another non-DigitalOcean private network. In summary, while DigitalOcean is providing a great service, and adding new features seemingly every quarter, it offers a conceptual model slightly out of sync with the big name cloud companies, and you need to by mindful of this, but the same would be true I guess for people experienced with DigitalOcean moving to AWS or Azure.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
