2 回答
- 最新
- 投票最多
- 评论最多
0
Hello
You can use in this way:
- Create AMI from the Ec2
- Launch AMI and add user data to modify the config file
#!/bin/bash
/bin/sed -i 's/old-text/new-text/g' configfile/path
please let me know if you have any questions
Thanks GK
已回答 2 年前
0
Hi, Sorry about delayed response. I was on leave. What I’m trying to achieve is modify the file content from db1.AWS.com to db2.AWS.com while the volumes are swapped. In other words, can I modify the value within AWS console or CLI before I swap over the volumes ?
已回答 2 年前
相关内容
- AWS 官方已更新 4 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
Thank you. I shall give a try and let you know.
Is it working do you have feedback?