4.3 Hands-on Lab - Route 53 Domain Registration and Configuration

XaaS Technologies | 170.000+ Students
A free video tutorial from XaaS Technologies | 170.000+ Students
Let’s ☁️ !
4.6 instructor rating • 11 courses • 173,214 students

Learn more from the full course

AWS Certified Cloud Practitioner Training Bootcamp 2021

Pass AWS Certified Cloud Practitioner CLF-C01 Exam. Complete AWS Certified Cloud Practitioner Certification!

08:02:58 of on-demand video • Updated July 2021

  • Pass the AWS Certified Cloud Practitioner Certification (CLF-C01)
  • Practice for the Real Exam with 2 Full Exam Tests /w Detailed Breakdown and Reference to AWS Official Documentation
  • Test and Reinforce Knowledge through Mid-way and Module End Quizzes
  • Download All 400+ Slides Available as PDF
  • Understand AWS Global Infrastructure. Regions, Availability Zones and Edge Locations
  • Learn AWS Identity Access Management (IAM)
  • Implement Virtual Private Cloud (VPC)
  • Launch EC2 Instance and Connect through SSH
  • Configure Security Groups
  • Create EBS Volume and Attach it to EC2 Instance
  • Create a Bucket in AWS & Operations with Objects (Files)
  • Register a Domain on Route 53 and Route DNS Traffic to the Static Website
  • Create CloudFront Distribution and Test Website's Speed
  • Create ALB-Application Load Balancer and Test Load Balancing
  • Configure Launch Configuration and Auto Scaling Group (ASG)
  • Deploy an Amazon RDS DB Instance Running MySQL
  • Deploy WordPress Website with CloudFormation
  • Understand the Different AWS Billing, Pricing and Support Levels
  • Understand AWS WAF, Shield & Firewall Manager
  • Understand AWS Inspector
  • Learn AWS Architecting for the Cloud Best Practices
English In this section I will register a domain on AWS Route 53 and then I will use that domain in order to create a static Website on Amazon S3. So let's switch over to AWS Management Console and get started. So let's proceed, Please click on Services and then go down to Networking & Content Delivery. And here it is AWS Route 53, so click on Route 53 and then I can select from these four options. For our first step, We need to register a new domain, so Domain registration, So yes let's Get started now, I will have to either Register Domain or Transfer one. So we want a new domain. So I'll click on Register Domain. Now I can choose a domain name. For example, let's say awstrainingbootcamp.com ... yes this is it, So ... awstrainingbootcamp.com. Let's check the availability and it looks like the domain is available. Great. Now before we start with the registration, please note that in order to serve the content from an S3 bucket and transform that bucket basically in your website, you would need to have a bucket with the same name that you register the domain. So in my case awstrainingbootcamp.com. So before I go ahead and do the registration I will just try and see if it's available. So the bucket. So what I will do now is right click on Services and I'll open a new tab. So Services and I'll go to S3 and let me just try and see if this is available. So right-click and paste and I will say Create bucket. So right let me just say cancel. So this is where you search for a specific bucket, click on Create bucket, the DNS complained name. Let me see if it's available. And it looks like it is. So awstrainingbootcamp.com, I will click on Create. Now the first thing that we can see here, for this specific bucket, it says that Bucket and objects are not public. So we want to change this, either select it and go to Edit public settings and click Save or you can just go ahead and enter the bucket and then go to Permissions and here it says ...On, so I will click on Edit and uncheck it and Save. So again I have to type confirm. So here it is and Confirm. So it should be good now, Public access settings have been updated successfully. Great. Let's click on Overview and go to Amazon S3; so now it says that objects can be public which really doesn't mean that objects will be public. So what you need to do is go to Permissions and go here in the Bucket Policy; bucket policy uses JSON based access policy language to manage advanced permission to your Amazon S3 resources. And if you just search in AWS documentation, you'll see here this one ... Permissions required for Website Access. The following sample bucket policy grants everyone access to the objects in the specified folder. So this is something that we need and I will copy this one and the bucket policy will also be available for download if you want to do the registration yourself. So let me just get back to S3 and I'll go to Bucket Policy, paste it here and I will click Save, and Policy has invalid resource, which means that I have to put this one here. Amazon Resource Name, I will take it, copy and replace the example bucket, so paste and let's try again. Save and this is totally different. This bucket has public access, you have provided public access to this bucket, we highly recommend that you never grant any kind of public access to your S3 bucket, but this is something that we want, because we want to transform this bucket into a website. So going back to Amazon S3, we can see that for Access, objects are not in this position now. So the status is not ... Objects can be public, but the access is really Public. So before we continue with the domain name registration, let's do this. I will go in the bucket and upload some files and I will go into my folder and into website, So I'll just take this ones and I will say Choose and I will say Upload ... so these ones are going to be uploaded. Perfect! Now one more thing I forgot to do, in the Properties, very important. This is the feature that we will use. Static website hosting ... so host a static Website which does not require server side technologies. So if you click on it, you can say Use this bucket to host a website. The endpoint is used as the website address and you can say here like ... you can type like two documents, I have uploaded index and error.html, for index.html it says that this is the home or default page of the website and for the second one this is returned when an error occurs and you can name this whatever you want. But I have said that this is the index.html and the second one error.html So I'll click Save and yes bucket hosting is now ticked. So everything looks great! Coming back, this is Public, we are hosting in us-east-1, in Northern Virginia, so here I have the index.html and error.html. These are the PNGs, so pictures that are available. So now let's get back to Route 53. So let's continue now with this one, so I'll Add to cart and I will say Continue and now I have to fill in all of the contact details for this one first domain; My Registrant, Administrative and Technical Contacts are the same. So let me just fill in these ones now. All right. So registration was successful, as you can see here ... Thank you for registering your domain to AWS Route 53. Your registration request for the following 1 domain had been successfully submitted. And here is the domain ... awstrainingbootcamp.com So what next ? Going to Domains. It says that ... Domain registration is in progress ... and it should be let's say fulfilled in a couple of hours, maybe 24 hours, although in the previous page was said that it could take up to three days. So anyway I will just pause the registration and I will come back to you once I receive the confirmation from AWS. All right, so I am back in AWS Management Console. Honestly AWS services have improved a lot and are continuously being improved. It took around 15 minutes until I received the confirmation from AWS. So now let me just refresh the page. And let's say ... Registered domains ... So it is no longer in the ... pending request. awstrainingbootcamp.com is now shown up in the Registered domains. So if I click on awstrainingbootcamp.com, I can now go ahead and Manage DNS, so I'll click on this ... I'll select it and then I can say ... so let me just take a look. Create Record Set This is what we want. I'll click on this one and awstrainingbootcamp.com I will create an Alias for this. This is a type A Record, DNS record, which means that I have now the possibility to select a target and the target is actually the S3 bucket. I will select this one and just say Create and here I have the DNS record. It is A type again, so it is an alias going to this bucket. So going back to the previous section, we went through an example, So if an user will try to go to awstrainingbootcamp.com, That request will be forwarded to the S3 bucket, which is now serving statically content to the user. So let's try now to connect to the awstrainingbootcamp.com website, enter and here it is ... Welcome to AWS Certified Cloud Practitioner Training Bootcamp ! Now if I say awstrainingbootcamp.com/something that is not okay, I will just say enter, Then I will be presented the error.html content, so resource not available anyway not available. So pretty much that's it. With registering a new domain with AWS Route 53 and then also going to S3, creating a bucket with the same name like the domain name, making it public so also configuring it with this option, static website hosting, and that should be everything that you should do if you want to host a static website with AWS. All in all you, don't have to do it in order to pass the Certified Cloud Practitioner exam, is just like a great example of how you can just use different AWS services, in order to create cool stuff in the cloud. Thank you. And see you in the next section.