How it works…

As you can see, we're applying a logging configuration that points to the S3 bucket we've created. We're configuring this load balancer to be internet-facing, with an idle timeout of 60 seconds (the default).

All load balancers are internet-facing by default, so it's not strictly necessary to define a Scheme in our example; however, it can be handy to include this anyway. This is especially the case if your CloudFormation template contains a mix of public and private load balancers.

If you specify a logging configuration but the load balancer can't access the S3 bucket, your CloudFormation stack will fail to complete.

Private ELBs are not internet-facing and are only available to the resources that live inside your VPC.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset