![]() ![]() There is also IPv6, but to keep things concise we will skip this, we will only need to know IPv4 for the purposes of this tutorial. Since we have 4 octets we have 256 ^ 4 = 4.3 billion different combinations and therefore IP addresses!Ī IPv4 address is resolved to human readable format: “ ” through a DNS. But we start at 0 so an octet can be a number between 0-255. Since each octet contains 8 bits and each bit can be a 0 or 1, there is 2 ^ 8 = 256 different combinations. Each byte contains 8 bits and is therefore referred to as an octet. Referred to as IPv4 since there are 4 bytes which can represent the address. IPv4 is the format in which IP addresses are written. So private IP addresses are just a way we can identify computers on our own network and public IP addresses are a way we can identify computers on the “internet” network. Regardless of whether this network is the internet or not. IP address is simply a way to identify a single computer on a network. The same way you can have an IP address on the internet you can also have an IP address in another network that is not the internet. However, what we call the internet is just one of many networks. public vs private ip addressesĪ public IP address is a the location of where your computer is in the wider internet. We will see examples of both of these when we are setting up our project on the AWS console. Our webserver and database will be able to communicate with each other through a route table. Our private subnet will contain our database but will not be accessible over the internet. The public subnet will contain our web server and will be accessible over the internet. We will have a public and private subnet in our VPC. This is essentially what we will be building. VPCs, IP addresses and subnets are the most important concepts to understand about networking in AWS. ![]() Networking in cloud computing essentially determines how your virtual resources communicate with each other and the wider internet. It works in basically the same way networking works with hardware expect that everything that is hardware, (routers, switches, internet gateways) is virtualized in cloud computing. I will give you all the information you need to know. The AWS setup will mainly involve networking which is why most of this tutorial will focus on networking concepts and setups.Įverything else such as provisioning databases and Ec2 instances is easy to do on AWS, networking will be the biggest challenge.īut don't worry if you don't have any networking experience. Those tools are good but what we want is a robust, highly secure and highly performant cloud computing setup which means we will do it from scratch. Websites like Digital Ocean and Heroku make it even easier by hiding away all the complexity and allow you to just deploy your app with a few simple steps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |