VPC with one public subnet and one private subnet

In this article I will show how to create the following setup: a VPC with two subnets: a private and a public one the public subnet will contain the Internet facing stuff, for example a web server the private subnet will contain the stuff that should not be accessible from Internet, for example, a database …

How are Java 9 sets created by the factory method Set.of randomized

Convenient factory methods for creating collections of objects is one of the nice feature that Java 9 brings. Here is how you would create a set: Running this code a couple of times will show how every single run will create a different output. The Java 9 sets created by the newly added factory methods …