Skip to content
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

VPC subnets as a ec2 provider option #6

Closed
jimdowling opened this issue Mar 14, 2015 · 4 comments
Closed

VPC subnets as a ec2 provider option #6

jimdowling opened this issue Mar 14, 2015 · 4 comments
Assignees

Comments

@jimdowling
Copy link

VPC subnets are important for the highest performance networking (10 GbE) - without it you have 1 GbE. You can easily create them in jclouds - see here: https://jclouds.apache.org/guides/aws-ec2/.
It would be nice to have this as a ec2 option:
vpc true
or something like that.

@jimdowling
Copy link
Author

VPC
To create nodes in a subnet under Amazon VPC add the following option to your template options. Note that VPCs and Security Groups are mutually exclusive.

TemplateOptions options = compute.templateOptions();
options.as(AWSEC2TemplateOptions.class).subnetId(subnetId);

Set<? extends NodeMetadata> nodes = client.runNodesInGroup(group, 1,
options);
You can also checkout EC2ComputeServiceListTest.testExtendedOptionsWithSubnetId()

@kamalhakim
Copy link
Member

Feature was added today b26db39

User must take the steps below to be able to use vpc:

  1. Make a VPC and a subnet assigned to it under your ec2
  2. Check the "Auto-assign Public IP" item for your subnet.
  3. Make an internet gateway and attach it to the VPC
  4. Make a routing table for your VPC and add a row for your gateway into it, on this row open all ips '0.0.0.0/0'
  5. Add your vpc-id and subnet-id into the ec2 section of your yaml like the following example. Also make sure you are using the right image and type of instance for your vpc.
ec2:
    type: c4.large
    region: eu-west-1
    image: ami-47a23a30
    vpc: vpc-f70ea392
    subnet: subnet-e7830290

@jimdowling
Copy link
Author

Kamal, can you add the steps above to the README.md?

kamalhakim added a commit that referenced this issue Apr 12, 2015
@kamalhakim
Copy link
Member

Done.

@kamalhakim kamalhakim self-assigned this Jul 21, 2015
kouzant added a commit to kouzant/karamel that referenced this issue May 31, 2023
…ency issues (karamelchef#4)

[CLOUD-543] Print Karamel version in logs

[CLOUD-543] Leave old method untouched for easy reference in the future

[CLOUD-543] Lock also another region which may reconnect the client (karamelchef#5)

[CLOUD-570] Serialize execution of some recipes on multiple machines (karamelchef#7)

[CLOUD-570] Make recipes parallelism configurable

[CLOUD-570] Ignore recipe parallelism if less than or equal to zero

[CLOUD-570] Fix deadlock by moving the lock after queuing, right before execution

[CLOUD-570] Log information of lock claims

[CLOUD-570] Documentation

[CLOUD-556] Wait for a while before exit so that web UI can catch up (karamelchef#8)

increase heap size to 6gb (karamelchef#9)

[CLOUD-580] Make working directory configurable by environment variable (karamelchef#6)

[CLOUD-580] Update documentation

[no_remote_conf_sync] Fix
SirOibaf pushed a commit to SirOibaf/karamel that referenced this issue Jun 8, 2023
…ency issues (#4)

[CLOUD-543] Print Karamel version in logs

[CLOUD-543] Leave old method untouched for easy reference in the future

[CLOUD-543] Lock also another region which may reconnect the client (#5)

[CLOUD-570] Serialize execution of some recipes on multiple machines (karamelchef#7)

[CLOUD-570] Make recipes parallelism configurable

[CLOUD-570] Ignore recipe parallelism if less than or equal to zero

[CLOUD-570] Fix deadlock by moving the lock after queuing, right before execution

[CLOUD-570] Log information of lock claims

[CLOUD-570] Documentation

[CLOUD-556] Wait for a while before exit so that web UI can catch up (karamelchef#8)

increase heap size to 6gb (karamelchef#9)

[CLOUD-580] Make working directory configurable by environment variable (karamelchef#6)

[CLOUD-580] Update documentation

[no_remote_conf_sync] Fix
SirOibaf pushed a commit that referenced this issue Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants