1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

M #-: Review and add AWS/Equinix providers (#706)

This commit is contained in:
Jan Orel 2021-01-25 17:55:34 +01:00 committed by GitHub
parent 9bd36d803c
commit 44dc72dde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 219 additions and 17 deletions

View File

@ -9,17 +9,16 @@ plain:
location_key: 'region'
connection:
access_key: 'Encrypted AWS access key'
secret_key: 'Encrypted AWS secret key'
access_key: 'AWS access key'
secret_key: 'AWS secret key'
region: 'eu-central-1'
inputs:
- name: 'aws_ami_image'
type: 'list'
options:
- 'ami-0e342d72b12109f91'
- 'ami-0b793c1e0d1dc4d28'
- 'ami-04c21037b3f953d37'
- name: 'aws_instance_type'
type: 'list'
options:
- 'i3-metal'
- 'i3.metal'

View File

@ -0,0 +1,24 @@
name: 'aws-london'
description: 'Elastic cluster on AWS in London'
provider: 'aws'
plain:
provision_type: 'hybrid+_qemu'
image: 'AWS.webp'
location_key: 'region'
connection:
access_key: 'AWS access key'
secret_key: 'AWS secret key'
region: 'eu-west-2'
inputs:
- name: 'aws_ami_image'
type: 'list'
options:
- 'ami-0bab5c8be0975423b'
- name: 'aws_instance_type'
type: 'list'
options:
- 'i3.metal'

View File

@ -9,18 +9,16 @@ plain:
location_key: 'region'
connection:
access_key: 'Encrypted AWS access key'
secret_key: 'Encrypted AWS secret key'
access_key: 'AWS access key'
secret_key: 'AWS secret key'
region: 'us-east-1'
inputs:
- name: 'aws_ami_image'
type: 'list'
options:
- 'ami-096fda3c22c1c990a'
- 'ami-00ddb0e5626798373'
- 'ami-0d6e9a57f6259ba3a'
- name: 'aws_instance_type'
type: 'list'
options:
- 'i3-metal'
- 'i3.large'
- 'i3.metal'

View File

@ -0,0 +1,24 @@
name: 'aws-north-california'
description: 'Elastic cluster on AWS in North California'
provider: 'aws'
plain:
provision_type: 'hybrid+'
image: 'AWS.webp'
location_key: 'region'
connection:
access_key: 'AWS access key'
secret_key: 'AWS secret key'
region: 'us-west-1'
inputs:
- name: 'aws_ami_image'
type: 'list'
options:
- 'ami-08b547f0dcb46c4d3'
- name: 'aws_instance_type'
type: 'list'
options:
- 'i3.metal'

View File

@ -9,16 +9,15 @@ plain:
location_key: 'facility'
connection:
token: 'Encrypted Packet token'
project: 'Encrypted Packet project'
token: 'Packet token'
project: 'Packet project'
facility: 'ams1'
inputs:
- name: 'packet_os'
type: 'list'
options:
- 'centos_7'
- 'ubuntu_18_04'
- 'centos_8'
- name: 'packet_plan'
type: 'list'
options:

View File

@ -0,0 +1,26 @@
name: 'packet-ewr1'
description: 'Elastic cluster on Packet in Parsippany, USA, NJ'
provider: 'packet'
plain:
provision_type: 'hybrid+'
image: 'EQUINIX.webp'
location_key: 'facility'
connection:
token: 'Packet token'
project: 'Packet project'
facility: 'ewr1'
inputs:
- name: 'packet_os'
type: 'list'
options:
- 'centos_8'
- name: 'packet_plan'
type: 'list'
options:
- 't1.small'
- 'c1.small'
- 'm1.xlarge'

View File

@ -0,0 +1,26 @@
name: 'packet-nrt1'
description: 'Elastic cluster on Packet in Tokyo, Japan'
provider: 'packet'
plain:
provision_type: 'hybrid+'
image: 'EQUINIX.webp'
location_key: 'facility'
connection:
token: 'Packet token'
project: 'Packet project'
facility: 'nrt1'
inputs:
- name: 'packet_os'
type: 'list'
options:
- 'centos_8'
- name: 'packet_plan'
type: 'list'
options:
- 't1.small'
- 'c1.small'
- 'm1.xlarge'

View File

@ -0,0 +1,26 @@
name: 'packet-sjc1'
description: 'Elastic cluster on Packet in Sunnyvale, USA, CA'
provider: 'packet'
plain:
provision_type: 'hybrid+'
image: 'EQUINIX.webp'
location_key: 'facility'
connection:
token: 'Packet token'
project: 'Packet project'
facility: 'sjc1'
inputs:
- name: 'packet_os'
type: 'list'
options:
- 'centos_8'
- name: 'packet_plan'
type: 'list'
options:
- 't1.small'
- 'c1.small'
- 'm1.xlarge'

View File

@ -58,6 +58,8 @@ defaults:
ami: "${input.aws_ami_image}"
instancetype: "${input.aws_instance_type}"
cloud_init: true
connection:
remote_user: 'centos'
#-------------------------------------------------------------------------------
# cluster: Parameters for the OpenNebula cluster. Applies to all the Hosts

View File

@ -0,0 +1,26 @@
name: 'aws-frankfurt'
description: 'Elastic cluster on AWS in Frankfurt'
provider: 'aws'
plain:
provision_type: 'hybrid+_qemu'
image: 'AWS.webp'
location_key: 'region'
connection:
access_key: 'AWS access key'
secret_key: 'AWS secret key'
region: 'eu-central-1'
inputs:
- name: 'aws_ami_image'
type: 'list'
options:
- 'ami-04c21037b3f953d37'
- name: 'aws_instance_type'
type: 'list'
options:
- 't2.micro'
- 't2.small'
- 't2.medium'

View File

@ -9,8 +9,8 @@ plain:
location_key: 'region'
connection:
access_key: 'Encrypted AWS access key'
secret_key: 'Encrypted AWS secret key'
access_key: 'AWS access key'
secret_key: 'AWS secret key'
region: 'eu-west-2'
inputs:

View File

@ -0,0 +1,26 @@
name: 'aws-north-virginia'
description: 'Elastic cluster on AWS in North Virginia'
provider: 'aws'
plain:
provision_type: 'hybrid+_qemu'
image: 'AWS.webp'
location_key: 'region'
connection:
access_key: 'AWS access key'
secret_key: 'AWS secret key'
region: 'us-east-1'
inputs:
- name: 'aws_ami_image'
type: 'list'
options:
- 'ami-0d6e9a57f6259ba3a'
- name: 'aws_instance_type'
type: 'list'
options:
- 't2.micro'
- 't2.small'
- 't2.medium'

View File

@ -0,0 +1,26 @@
name: 'aws-north-california'
description: 'Elastic cluster on AWS in North California'
provider: 'aws'
plain:
provision_type: 'hybrid+_qemu'
image: 'AWS.webp'
location_key: 'region'
connection:
access_key: 'AWS access key'
secret_key: 'AWS secret key'
region: 'us-west-1'
inputs:
- name: 'aws_ami_image'
type: 'list'
options:
- 'ami-08b547f0dcb46c4d3'
- name: 'aws_instance_type'
type: 'list'
options:
- 't2.micro'
- 't2.small'
- 't2.medium'