Forked from mikepfeiffer/gist:a4ce6d25ae092f1a4ea97afad5879530
          
        
    
          Created
          August 27, 2018 14:06 
        
      - 
      
- 
        Save eMahtab/27ca8f29e51235a8b7de7aeb588c8477 to your computer and use it in GitHub Desktop. 
    EC2 user data script to boostrap Windows instance with Python and AWS CLI
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <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> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment