needed a python deployment script which get as parameters:
- machine ip
- machine admin username
- machine admin password
- customer name (english letters only with '-' , '_')
- customer mail
- first and last name (will be used later in the mail)
what the script have to do:
1) generate db name from the customer name followed by current timestamp seconds e.g <customer_name>_1587213607 (no spaces in the db name)
2)change the <DB_NAME> according step 1 in the [login to view URL] and execute against postgresql rds (the existing postgres rds will be provided to you with full access)
(maybe will be usefull [login to view URL])
3) inject the db_name from step 1 to a provided text file ([login to view URL] provided - change <DB_NAME> by the generated one)
4) inject the db_name from step 1 to a provided xml file ([login to view URL] provided change <DB_NAME> by the generated one
5) pack the 2 files generated in steps 3 and 4 to [login to view URL] format
(maybe usefull [login to view URL])
6) deploy the [login to view URL] from the previous step to the home directory (~) in the machine provided in the parameters
(may be usefull: [login to view URL])
7) execute remote shell command which extract the [login to view URL] pack and execute echo "hello world";
(maybe will be usefull: [login to view URL])
8) create free test mail server (may be use full: [login to view URL] )
9) send "hello world" mail to the customer mail provided in the parameters using the free mail server you created in the previous script (or another one if you have) attach an attached link to [login to view URL] as attachement link and provide 2 files as attachement - [login to view URL] and the [login to view URL] provided.
(may be usefull:
[login to view URL])
you can use any python version you want.
the postgres rds for step 2 as well as real machine parameters will be provided if needed.
Thanks.
I am a masters of technology student who is certified in "Python with Data Science" (Check my Profile). I can easily do your work as i am proficient with python data science libraries like pandas , numpy and matplotlib.
PS: I am also a IBM certified data scientist.