-1

I am super new to python and AWS as well. I want to install and uninstall web browsers like Chrome/ Firefox/ IE etc as per the requirement on EC2 instances using Python. I am yet not sure whether "BOTO" can be useful here and I am using Python 2.7.9. Any suggestions / guidelines / overview / tutorial are appreciated.

Thanks a lot :)

4
  • which OS you are using? Commented May 28, 2015 at 11:28
  • @Mahendran - For scripting I can use Windows or Linux .But the OS on which the browser should be installed is selected dynamically. Commented May 28, 2015 at 12:05
  • Suggestion. First you need to find in which os you are going to install. Get the user input for which browser to install and based on the os selection you need to fetch the respected execution file. For firefox you can get it from here. Check related install option based on os. For linux you can able to create a bash script and make it run on python script. Commented May 28, 2015 at 13:05
  • why would you want to install a browser in a server? why would you do it from python? why would you consider doing it using boto? Commented Apr 21, 2017 at 19:08

1 Answer 1

0

Boto allows you to make API calls to AWS services like EC2 and S3. It's not relevant to installing web browsers on EC2 instances.

You mentioned IE so I'm assuming that your EC2 instances are Windows, not Linux. Python is not likely to be the best way to install and uninstall Windows applications. You might want to host the installation binaries somewhere and then use a CMD script to do silent installs/uninstalls (Firefox example here) or even look at a Windows package manager like chocolatey.

Sign up to request clarification or add additional context in comments.

1 Comment

@jarmod- Thanks for helping. I derived that I am now supposed to use Chef tool for that purpose.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.