-
Notifications
You must be signed in to change notification settings - Fork 136
AWS feature for Malboxes #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
be5313d
AWS Support: Packer portion
0b4db0d
AWS Support: Vagrant portion
a17f830
ISO download URL fixed for Windows10_64
804f864
Build command for AWS
079614a
Updated description of the AMI
10ad46e
Documentation: AWS part
bfb7fce
AWS Support: Windows 7
171e51b
Manifest.json no longer needed
59104ed
Boto3 now gets AWS creds from config.js
e5091ac
AWS region is now in config
e720a13
Fix WinRM inbound rules
a136aea
Updated requirements for installation
c5e29c8
Instance type and group added to config
e182f88
WinRM firewall rule added
3421419
AWS support for win7 32-bit
ffde781
README and minor corrections
e795a5f
Correction of README
a114e2a
Imports’ order adjusted
fad539e
Constants for exit status codes
d69d318
Refactoring of is_template_already_ami
2f0ccab
Length of lines is now below 80 chars
03d84a9
AWS simpler build message
95a802d
New lines between functions
13460aa
Fix to not affect ESXI
f287550
Fix forgotten name for an exit status
8077bee
ESXI correction for windows10 32bits
fa71f33
Added boto3 requirement to setup.py
obilodeau 2911d15
doc: added a missing step in the guide
obilodeau a40b989
aws: prevent rsync failures on "vagrant up"
obilodeau aafec65
docs: some rough notes on AWS support
obilodeau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| = Amazon Web Services (AWS) Helpers | ||
|
|
||
| == Setup | ||
|
|
||
| Install the `aws` command-line tool (pip or your OS' version) | ||
|
|
||
| Configure it | ||
|
|
||
| aws configure | ||
|
|
||
| You are good to go! | ||
|
|
||
|
|
||
| == Built Templates | ||
|
|
||
| They are available as images or AMIs in AWS' language. | ||
| You can find them under EC2 -> Images -> AMIs. | ||
|
|
||
| === List malboxes images hosted available to you | ||
|
|
||
| aws ec2 describe-images --filters "Name=tag:Name,Values=Malboxes" | ||
|
|
||
|
|
||
| == Operations | ||
|
|
||
| === Map a drive | ||
|
|
||
| Connecting to the instance with the following command will map the current | ||
| working directory as a drive letter on the Windows box using RDP: | ||
|
|
||
| vagrant rdp -- /cert-ignore /a:drive,home,./ | ||
|
|
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Allow WinRM to communicate on public network | ||
| netsh advfirewall firewall add rule name="Public network WinRM" dir=in action=allow protocol=TCP localport=5985 profile=public |
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| "post-processors": [ | ||
| {# Exports the .OVA created by the builder to the S3 bucket then converts the file to an AMI | ||
| (This can take a very long time). | ||
| Use this command to see the status of the import: aws ec2 describe-import-image-tasks #} | ||
| { | ||
| "type": "amazon-import", | ||
| "access_key": "{{ aws_access_key }}", | ||
| "secret_key": "{{ aws_secret_key }}", | ||
| "region": "{{ aws_region }}", | ||
| "s3_bucket_name": "{{ aws_s3_bucket }}", | ||
| "license_type": "BYOL", | ||
| "tags": {"Name" : "Malboxes", "Template": "{{ template_name }}"} | ||
| } | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no-op changes should be removed to reduce unnecessary work on the reviewer's end