Package org.jclouds.ec2.compute.config

Examples of org.jclouds.ec2.compute.config.EC2BindComputeStrategiesByClass


public class AWSEC2ComputeServiceContextModule extends BaseComputeServiceContextModule {
   @Override
   protected void configure() {
      super.configure();
      installDependencies();
      install(new EC2BindComputeStrategiesByClass());
      install(new AWSEC2BindComputeSuppliersByClass());
      bind(ReviseParsedImage.class).to(AWSEC2ReviseParsedImage.class);
      bind(CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.class).to(
               CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions.class);
      bind(EC2HardwareSupplier.class).to(AWSEC2HardwareSupplier.class);
View Full Code Here


public class AWSEC2ComputeServiceContextModule extends BaseComputeServiceContextModule {
   @Override
   protected void configure() {
      super.configure();
      installDependencies();
      install(new EC2BindComputeStrategiesByClass());
      install(new AWSEC2BindComputeSuppliersByClass());
      bind(ReviseParsedImage.class).to(AWSEC2ReviseParsedImage.class);
      bind(CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.class).to(
               CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions.class);
      bind(EC2HardwareSupplier.class).to(AWSEC2HardwareSupplier.class);
View Full Code Here

public class AWSEC2ComputeServiceContextModule extends BaseComputeServiceContextModule {
   @Override
   protected void configure() {
      super.configure();
      installDependencies();
      install(new EC2BindComputeStrategiesByClass());
      install(new AWSEC2BindComputeSuppliersByClass());
      bind(ReviseParsedImage.class).to(AWSEC2ReviseParsedImage.class);
      bind(CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.class).to(
               CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions.class);
      bind(EC2HardwareSupplier.class).to(AWSEC2HardwareSupplier.class);
View Full Code Here

public class AWSEC2ComputeServiceContextModule extends BaseComputeServiceContextModule {
   @Override
   protected void configure() {
      super.configure();
      installDependencies();
      install(new EC2BindComputeStrategiesByClass());
      install(new AWSEC2BindComputeSuppliersByClass());
      bind(ReviseParsedImage.class).to(AWSEC2ReviseParsedImage.class);
      bind(CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.class).to(
               CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions.class);
      bind(EC2HardwareSupplier.class).to(AWSEC2HardwareSupplier.class);
View Full Code Here

                m1_xlarge().build(),
                m2_2xlarge().build());
    }

    public EC2HardwareBuilder t1_nano() {
        return new EC2HardwareBuilder("t1.nano")
                .ram(256)
                .processors(ImmutableList.of(new Processor(1, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(10.0f, true, true)));
    }
View Full Code Here

                .processors(ImmutableList.of(new Processor(1, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(10.0f, true, true)));
    }

    public EC2HardwareBuilder t1_micro() {
        return new EC2HardwareBuilder("t1.micro")
                .ram(512)
                .processors(ImmutableList.of(new Processor(1, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(20.0f, true, true)));
    }
View Full Code Here

                .processors(ImmutableList.of(new Processor(1, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(20.0f, true, true)));
    }

    public EC2HardwareBuilder t1_milli() {
        return new EC2HardwareBuilder("t1.milli")
                .ram(1024)
                .processors(ImmutableList.of(new Processor(1, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(40.0f, true, true)));
    }
View Full Code Here

                .processors(ImmutableList.of(new Processor(1, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(40.0f, true, true)));
    }

    public EC2HardwareBuilder m1_small() {
        return new EC2HardwareBuilder("m1.small")
                .ram(2048)
                .processors(ImmutableList.of(new Processor(2, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(80.0f, true, true)));
    }
View Full Code Here

                .processors(ImmutableList.of(new Processor(2, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(80.0f, true, true)));
    }

    public EC2HardwareBuilder m1_medium() {
        return new EC2HardwareBuilder("m1.medium")
                .ram(4096)
                .processors(ImmutableList.of(new Processor(4, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(160.0f, true, true)));
    }
View Full Code Here

                .processors(ImmutableList.of(new Processor(4, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(160.0f, true, true)));
    }

    public EC2HardwareBuilder m1_large() {
        return new EC2HardwareBuilder("m1.large")
                .ram(8192)
                .processors(ImmutableList.of(new Processor(8, 1)))
                .volumes(ImmutableList.<Volume>of(new VolumeImpl(320.0f, true, true)));
    }
View Full Code Here

TOP

Related Classes of org.jclouds.ec2.compute.config.EC2BindComputeStrategiesByClass

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.