
{"id":14876,"date":"2022-08-18T12:16:01","date_gmt":"2022-08-18T10:16:01","guid":{"rendered":"https:\/\/careerfoundry.inbearbeitung.de\/en\/?p=14876"},"modified":"2022-08-18T12:24:58","modified_gmt":"2022-08-18T10:24:58","slug":"aws-vpc-guide","status":"publish","type":"post","link":"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/aws-vpc-guide\/","title":{"rendered":"What Is a VPC? A Beginner's Guide to AWS VPCs"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">There are so many reasons to use cloud computing, from streamlining processes and reducing costs to reducing risk and increasing data security.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Amazon Web Services offers a variety of tools that make it easy to integrate on-premises resources with cloud resources. Amazon Virtual Private Cloud (or AWS VPC) is one of them.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the case of VPCs within AWS, there are several choices. You can build your own VPC from scratch, or use one of the AWS-provided VPCs.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">These VPCs are set to operate with particular subnets, gateways, and route tables that can aid you in setting up and managing your AWS environment. This subject isn\u2019t easy to grasp, so we&#8217;ve <\/span><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/cloud-computing-aws\/\">put together a complete AWS guide<\/a><span style=\"font-weight: 400;\"> to help you understand more about the platform itself.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you\u2019re already familiar with a topic, feel free to skip ahead by using the clickable menu:<\/span><\/p>\n<ol>\n<li><a href=\"#what-is-a-vpc\">What is a VPC?<\/a><\/li>\n<li><a href=\"#how-does-an aws-vpc-work\">How does an AWS VPC work?<\/a>\n<ul>\n<li><a href=\"#what-is-vpc-peering\"><span style=\"font-weight: 400;\">What is VPC peering?<\/span><\/a><\/li>\n<li><a href=\"#what-is-a-vpc-subnet\"><span style=\"font-weight: 400;\">What is a VPC subnet?<\/span><\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#what-are-the-benefits-of-using-an-aws-vpc\">What are the benefits of using an AWS VPC?<\/a><\/li>\n<li><a href=\"#how-do-i-create-an-aws-vpc\">How do I create an AWS VPC?<\/a><\/li>\n<li><a href=\"#how-to-learn-cloud-computing-with-aws\">How to learn cloud computing with AWS<\/a><\/li>\n<li><a href=\"#final-thoughts\">Final thoughts<\/a><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Ready? Then let\u2019s begin!<\/span><\/p>\n<h2 id=\"what-is-a-vpc\"><span style=\"font-weight: 400;\">1. What is a VPC?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">A VPC or virtual private cloud, is a secure private cloud hosted remotely by a public cloud provider.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">VPC customers can execute programs, create websites, save data, and perform other activities like they would in a home-based private cloud.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">VPC is a mix of cloud computing that is both a private and a public cloud. This permits the scalability and ease of public cloud computing while at the same time providing data security, which is typical of private clouds.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Imagine a public cloud as a restaurant with many people and a private cloud as reserved tables at that particular restaurant. Although the restaurant is crowded with patrons, a \u201creserved\u201d sign on the table means that it will only be used by the individual who booked the table. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Similarly, although cloud users often use computing resources that are on an open cloud and are chaotic, VPCs can reserve certain resources for one user only.<\/span><\/p>\n<h2 id=\"how-does-an aws-vpc-work\"><span style=\"font-weight: 400;\">2. How does an AWS VPC work?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">An Amazon VPC is a virtual network exclusively committed to your AWS account.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Your VPC is separated from other virtual networks in the AWS cloud. You may also launch AWS resources, such as EC2 instances, in your virtual private cloud, and protect your applications from local problems by launching instances in multiple availability zones.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Just like with <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/what-is-aws-s3\/\" target=\"_blank\" rel=\"noopener\">AWS S3<\/a>, there are a lot of options for security. You can also modify the IP address selection of your VPC and select your personal subnet configuration, create route tables, and then configure gateways for your network.<\/span><\/p>\n<h3 id=\"what-is-vpc-peering\"><span style=\"font-weight: 400;\">What is VPC peering?<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">The VPC <\/span><a href=\"https:\/\/docs.aws.amazon.com\/vpc\/latest\/peering\/what-is-vpc-peering.html\" rel=\"noopener\"><span style=\"font-weight: 400;\">peering connection<\/span><\/a><span style=\"font-weight: 400;\"> is linked between two VPCs, allowing you to send traffic between them by using privately-owned IPv4 addresses or IPv6 addresses. The VPCs can \u201ctalk\u201d to one another as if they were part of an identical network.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You could set up a VPC that peers with your VPCs or use a VPC within another AWS account. The VPCs can be found anyplace (also called an inter-regional VPC peering link).<\/span><\/p>\n<h3 id=\"what-is-a-vpc-subnet\"><span style=\"font-weight: 400;\">What is a VPC subnet?<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">The subnetwork of a VPC is the range of IP addresses that are part of it.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">AWS resources can be assigned to a particular subnetwork. Use a <\/span><b>public subnet<\/b><span style=\"font-weight: 400;\"> for resources that require access to the internet and a <\/span><b>private subnet<\/b><span style=\"font-weight: 400;\"> for non-internet-connected assets.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To protect the AWS resources of every subnet, you can use a variety of security measures, like security groups and network access control lists (ACL).<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14920 size-full\" src=\"http:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/08\/two-cloud-engineers-discussing-VPCs.jpeg\" alt=\"Two cloud engineers sit in an office with a laptop discussing AWS VPCs.\" width=\"1200\" height=\"600\" title=\"\" srcset=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/08\/two-cloud-engineers-discussing-VPCs.jpeg 1200w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/08\/two-cloud-engineers-discussing-VPCs-300x150.jpeg 300w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/08\/two-cloud-engineers-discussing-VPCs-1024x512.jpeg 1024w, https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-content\/uploads\/2022\/08\/two-cloud-engineers-discussing-VPCs-768x384.jpeg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<h2 id=\"what-are-the-benefits-of-using-an-aws-vpc\"><span style=\"font-weight: 400;\">3. What are the benefits of using an AWS VPC?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Adopting a VPC in AWS has many benefits. The following are just a few of them:<\/span><\/p>\n<h3 id=\"reduced-downtime-and-inconvenience\"><span style=\"font-weight: 400;\">Reduced downtime and inconvenience<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Customers expect <\/span><span style=\"font-weight: 400;\">100% availability<\/span><span style=\"font-weight: 400;\"> and are unwilling to endure even minor outages.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">VPC environments are designed to meet close to 100% uptime standards, which is done by including redundancy and other options. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Your client&#8217;s customers will have a higher level of trust in your business when they know it has almost 100% accessibility!<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Reduced risk of data breaches<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Many news reports have appeared recently detailing how prominent companies have had their clients\u2019 data stolen.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Most of the time, these incidents could have been avoided by using VPCs. A VPC offers an additional layer of protection for your information because it&#8217;s not connected to the internet, and is only accessed by authorized individuals.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Flexibility<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">VPCs can adapt to the growth of the business or changes in business operations without limitation.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Cloud infrastructure resources are set up regularly, making it easy to alter the VPC to meet the changing needs.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Cost-effective<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Companies with a business plan see <\/span><a href=\"https:\/\/www.waveapps.com\/blog\/entrepreneurship\/importance-of-a-business-plan\" rel=\"noopener\"><span style=\"font-weight: 400;\">30% faster growth<\/span><\/a><span style=\"font-weight: 400;\"> than those without it, and a part of any plan is projecting expenses.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Private clouds can help keep your costs in check as you only have to pay for the services you use. You won\u2019t have to purchase software or hardware upgrades, and you won\u2019t have to pay for maintenance if you use a VPC.<\/span><\/p>\n<h2 id=\"how-do-i-create-an-aws-vpc\"><span style=\"font-weight: 400;\">4. How do I create an AWS VPC?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Most users prefer to use the AWS Management Console to create a VPC. Here\u2019s how to set up your VPC step-by-step:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open the <a href=\"https:\/\/console.aws.amazon.com\/vpc\/\" target=\"_blank\" rel=\"noopener\">Amazon VPC console<\/a>.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Choose the VPC Wizard from the drop-down menu on the VPC Dashboard.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In Step 1, choose the VPC Configuration \u2014&gt; Single Public Subnet, then choose select.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Fill in the blanks as directed by the wizard and select &#8220;build VPC&#8221;:<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>IP CIDR block: <\/b><span style=\"font-weight: 400;\">10.0.0.0\/16<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>VPC name: <\/b><span style=\"font-weight: 400;\">ADS VPC<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Public subnet: <\/b><span style=\"font-weight: 400;\">10.0.0.0\/24<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Availability Zone: <\/b><span style=\"font-weight: 400;\">No Preference<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Subnet name: <\/b><span style=\"font-weight: 400;\">ADS Subnet 1<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Enable DNS hostnames: <\/b><span style=\"font-weight: 400;\">Leave the default selection<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><b>Hardware tenancy: <\/b><span style=\"font-weight: 400;\">Default<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">It can take anywhere from a few minutes to a half hour for the VPC to be established.<\/span><\/p>\n<h2 id=\"how-to-learn-cloud-computing-with-aws\"><span style=\"font-weight: 400;\">5. How to learn cloud computing with AWS<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Cloud computing provides a strategy with ubiquitous, easy internet access on demand to a collection of customizable computing resources (e.g., servers, network storage, applications, and other services).<\/span><\/p>\n<p>CareerFoundry\u2019s\u00a0<strong><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/courses\/cloud-computing-for-web-developers\/\">Cloud Computing for developers course<\/a><\/strong> is a great way to start getting to grips with not just the AWS platform, but cloud computing in general.<\/p>\n<p>Starting with cloud fundamentals, you\u2019ll gain hands-on practical experience with the AWS VPC as well as other widely-used tools such as EC2, Lambda, S3, and Identity and Access Management (IAM), as well as AWS security best practices.<\/p>\n<p>Offering developers a basic to intermediate level of deploying web applications on AWS cloud services, this mentored course can be taken by itself, or as part of the\u00a0<a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/courses\/become-a-web-developer\/\" target=\"_blank\" rel=\"noopener\">Full-Stack Development Program<\/a>.<\/p>\n<p><span style=\"font-weight: 400;\">You can also learn about cloud computing by <\/span><span style=\"font-weight: 400;\">taking online classes<\/span><span style=\"font-weight: 400;\"> on platforms such as edX and Coursera, or participating in online or in-person training sessions offered through Amazon Web Services themselves.\u00a0<\/span><\/p>\n<p>For those who want to start using AWS, we recommend you join their <a href=\"https:\/\/aws.amazon.com\/free\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">free tier<\/span><\/a>.<\/p>\n<h2 id=\"final-thoughts\"><span style=\"font-weight: 400;\">6. Final thoughts<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">As you can see, an AWS VPC has many advantages, such as enhanced security, better performance, and a lower chance of data breaches. In addition, VPCs are flexible and cost-effective.\u00a0<\/span><\/p>\n<p>It&#8217;s no surprise then, that as a <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/what-does-it-take-to-become-a-web-developer-everything-you-need-to-know-before-getting-started\/\" target=\"_blank\" rel=\"noopener\">web developer<\/a> or <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/what-is-a-cloud-engineer\/\" target=\"_blank\" rel=\"noopener\">cloud engineer<\/a> this is a key bit of technology to get to grips with.<\/p>\n<p><span style=\"font-weight: 400;\">Unsure how to get started? Check out the AWS Management Console to get help with the creation of your VPC.<\/span><\/p>\n<p>If you&#8217;d like to start from scratch with your programming journey, try out our <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/short-courses\/\">free coding short course<\/a> and start building your first website.<\/p>\n<p>If you&#8217;d like to learn more about the world of web development, check out these articles:<\/p>\n<ul>\n<li><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/how-to-become-a-software-engineer\/\">How to Become a Software Engineer in 2024<\/a><\/li>\n<li><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/what-is-npm\/\">What is NPM? A Beginner\u2019s Guide<\/a><\/li>\n<li><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/functional-programming-vs-oop\/\">Functional Programming vs OOP: A Beginner\u2019s Guide<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>There are so many reasons to use cloud computing, from streamlining processes and reducing costs to reducing risk and increasing data security.\u00a0 Amazon Web Services offers a variety of tools that make it easy to integrate on-premises resources with cloud resources. Amazon Virtual Private Cloud (or AWS VPC) is one of them. In the case [&hellip;]<\/p>\n","protected":false},"author":138,"featured_media":14909,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"yes","_lmt_disable":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-14876","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development"],"acf":{"homepage_category_featured":false},"modified_by":"Matthew Deery","_links":{"self":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/14876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/users\/138"}],"replies":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/comments?post=14876"}],"version-history":[{"count":1,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/14876\/revisions"}],"predecessor-version":[{"id":30675,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/14876\/revisions\/30675"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/media\/14909"}],"wp:attachment":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/media?parent=14876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/categories?post=14876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/tags?post=14876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}