Create a Private Microservice Using an Application Load Balancer
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWeNxkv4nzbUL27B9z_cmHRsuIjggno-OtrE9LbQqxuTaD43QBRqIylSAt_glIK6y4Qfa-N8-FAcTBWnnvtjPz9EJA92Y4F_lv-oOaeVhQOCvf4uXdzzGbi8vDBJRnRVEja296M48Byo3u/s320/Route53+private+dns.png)
Previously if you wanted to create an REST API powered by a lambda you only had one choice: API Gateway . This has a few limitations notably they’re always public so you need to use IAM or similar to lock it down and you can only use a custom domain name once globally, meaning no duplicating the implementations across multiple accounts with the same host endpoint. AWS recently announced another way to create a RESTful endpoint for Lambda’s: Application Load Balancers .