2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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
con risposta 2 anni fa
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 ?
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 8 mesi fa
- AWS UFFICIALEAggiornata 4 anni fa
Thank you. I shall give a try and let you know.
Is it working do you have feedback?