Related
Quick Links
Firewalls are crucial for any server’s security.
The firewall system is calledCloud Firewalls.
Some of the features of Cloud Firewalls are:
Recently, DigitalOcean releasedVirtual Private Cloud (VPC)networks.
Cloud Firewalls work in conjunction with VPCs to further segment and protect traffic.
In this example, it will be the IP address
.
Next, let’s take a look at the Outbound Rules.
What you see below are the default rules.
Generally, this is okay, depending on your needs.
Most server administrators have a higher level of control on the outbound traffic rather than the inbound.
That being said, you could certainly limit this traffic.
Finally, let’s apply this new firewall to a newly created VM that we have tagged
.
Why apply the firewall to a tag rather than the Droplet itself?
By applying to a tag, this firewall will automatically apply to every new resource that is tagged appropriately.
It automates the configuration and means that important firewall configurations will not be missed.
Cloud Firewall Caveats
You shoudl be aware of a couple of items when using Cloud Firewalls.