8000 Update README.md · alxsey/aws-lambda-ddns-function@a9b5b05 · GitHub
[go: up one dir, main page]

Skip to content

Commit a9b5b05

Browse files
committed
Update README.md
1 parent 05a3964 commit a9b5b05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Private hosted zones help you overcome these challenges by allowing you to creat
3030

3131
So while VPC DNS can provide basic name resolution for your VPC, Route 53 private hosted zones offer richer functionality by comparison. It also has a programmable API that can be used to automate the creation/removal of records sets and hosted zones which we’re going leverage extensively in this project.
3232

33+
##Use case
34+
3335
Route 53 doesn't offer support for dynamic registration of resource record sets for public or private hosted zones. This can pose challenges when an automatic scaling event occurs and the instances are not behind a load balancer. A common workaround is to use an automation framework like Chef, Puppet, Ansible, or Salt to create resource records, or by adding instance user data to the launch profile of the Auto Scaling group. The drawbacks to these approaches is that:
3436

3537
1. automation frameworks typically require you to manage additional infrastructure.
@@ -108,7 +110,7 @@ The **ddns-trust.json** file contains the trust policy that grants the Lambda se
108110
```
109111
aws iam create-policy --policy-name ddns-lambda-policy --policy-document file://<LOCAL PATH>/ddns-pol.json
110112
```
111-
3) Create the **ddns-lambda-role IAM role** using the trust policy in the **ddns-trust.json** file. You need to replace **<LOCAL PATH>** with your local path to the **ddns-trust.json** file. The output of the **aws iam create-role** command includes the ARN associated with the role that you created. Save this ARN as you need it when you create the Lambda function in the next section.
113+
3) Create the **ddns-lambda-role IAM role** using the trust policy in the **ddns-trust.json** file. You need to replace **\<LOCAL PATH\>** with your local path to the **ddns-trust.json** file. The output of the **aws iam create-role** command includes the ARN associated with the role that you created. Save this ARN as you need it when you create the Lambda function in the next section.
112114
```
113115
aws iam create-role --role-name ddns-lambda-role --assume-role-policy-document file://<LOCAL PATH>/ddns-trust.json
114116
```

0 commit comments

Comments
 (0)
0