ec2handler

package
v0.0.0-...-7eac525 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Proof of Concepts for the Cloud-Barista Multi-Cloud Project.

EC2 Hander (AWS SDK GO Version 1.16.26, Thanks AWS.)

by powerkim@powerkim.co.kr, 2019.03.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(region string) *ec2.EC2

func CreateInstances

func CreateInstances(svc *ec2.EC2, imageID string, instanceType string,
	minCount int, maxCount int, keyName string, securityGroupID string,
	subnetID string, baseName string) []*string

func DestroyInstances

func DestroyInstances(svc *ec2.EC2, instanceIds []*string) error

func GetPublicIP

func GetPublicIP(svc *ec2.EC2, instanceID string) (string, error)

func WaitForRun

func WaitForRun(svc *ec2.EC2, instanceID string)

Types

This section is empty.

Directories

Path Synopsis
Proof of Concepts for the Cloud-Barista Multi-Cloud Project.
Proof of Concepts for the Cloud-Barista Multi-Cloud Project.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL