Skip to content

Instantly share code, notes, and snippets.

@mikepfeiffer
Last active July 24, 2020 08:44
Show Gist options
  • Save mikepfeiffer/a4ce6d25ae092f1a4ea97afad5879530 to your computer and use it in GitHub Desktop.
Save mikepfeiffer/a4ce6d25ae092f1a4ea97afad5879530 to your computer and use it in GitHub Desktop.
EC2 user data script to boostrap Windows instance with Python and AWS CLI
<powershell>
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
choco install python -y
(new-object net.webclient).DownloadFile('https://s3.amazonaws.com/aws-cli/AWSCLI64.msi','c:\AWSCLI64.msi')
msiexec.exe /i 'C:\AWSCLI64.msi' /qn
</powershell>
@itsramya
Copy link

Please explain how to install java and tomcat server using chocolatey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment