Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

AWS Community Builders  profile imageRevathi Joshi
Revathi Joshi forAWS Community Builders

Posted on

     

Use Amazon CloudFront for dynamic Websites - 2

Please read my previous articleUse Amazon CloudFront for dynamic Websites -1

In this article, I am going to show you how to create a Target Group and an Application Load Balancer.

Let’s get started!

Please visit myGitHub Repository for S3 articles on various topics being updated on constant basis.

3. Create a Target Groupmy-TG.

1.

Image description

2.

Image description

3.

Image description

4.

Image description

5. Under Advanced health check settings

Image description

6. Next button.
7. Register Targets:

Image description

Image description

8. Click Create target group

Image description

4. Create an application Load Balancer.

1.

Image description

2.

Image description

3.

Image description

4.
  • VPC: Select Default VPC
  • Mappings: Select all zones

Image description

5. Remove the default security and Select the security group you created while launching an EC2 instance from the drop-down menu.

Image description

6. Select the target groupmy-TG from the drop-down menu.

Image description

7. Summary

Image description

8. Click Create Load Balancer

Image description

9. Copy the DNS name of the ELB under Description section and paste it in your browser.
http://my-lb-823658786.us-east-1.elb.amazonaws.com/
Enter fullscreen modeExit fullscreen mode

Image description

10. refresh the page, and you can observe the ELB is equally splitting the traffic between the two instances. (Note the instance id and time changes each time you refresh the page.)

Image description

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Build On!

Would you like to become an AWS Community Builder? Learn more about the program and apply to join when applications are open next.

More fromAWS Community Builders

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp