Commit 16e1b30b authored by Spiros Koulouzis's avatar Spiros Koulouzis

changed base path

parent 2a30b010
version: '3'
services:
rabbit:
image: rabbitmq:3.8-management
ports:
- "5671-5672:5671-5672"
- "15672:15672"
- "4369:4369"
- "15671:15671"
mongo:
image: mongo:4
ports:
- "27017:27017"
mysql:
image: mysql:5.6
environment:
......@@ -24,7 +37,7 @@ services:
SEMAPHORE_ADMIN_NAME: "Developer"
SEMAPHORE_ADMIN_EMAIL: admin@localhost
SEMAPHORE_ADMIN: admin
SEMAPHORE_WEB_ROOT: http://0.0.0.0:3000
SEMAPHORE_WEB_ROOT: http://0.0.0.0:3000/semaphore
ports:
- "3000:3000"
depends_on:
......
version: '3'
services:
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
nginx:
image: nginx
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./nginx.conf:/etc/nginx/nginx.conf
- ./cert.pem:/etc/nginx/cert/cert.pem
- ./privkey.pem:/etc/nginx/cert/privkey.pem
- ./htpasswd:/etc/nginx/htpasswd
#- ./www:/data/www
ports:
- "30000:80"
- "30001:443"
rabbit:
image: rabbitmq:3.8-management
#ports:
#- "5671-5672:5671-5672"
#- "15672:15672"
#- "4369:4369"
#- "15671:15671"
#- "15671:15671"
mysql:
image: mysql:5.6
......@@ -41,29 +45,18 @@ services:
SEMAPHORE_ADMIN_EMAIL: admin@localhost
SEMAPHORE_ADMIN: admin
SEMAPHORE_WEB_ROOT: http://0.0.0.0:3000
ports:
- "30002:3000"
#ports:
#- "30002:3000"
depends_on:
- mysql
#logspout:
#ports:
#- "30002:80"
#volumes:
#- /etc/hostname:/etc/host_hostname:ro
#- /var/run/docker.sock:/var/run/docker.sock
#environment:
#publish: "127.0.0.1:30002:80"
#image: gliderlabs/logspout:latest
mongo:
image: mongo:4
#ports:
#- "27017:27017"
#- "27017:27017"
manager:
depends_on:
- rabbit
......@@ -74,19 +67,19 @@ services:
RABBITMQ_HOST: rabbit
MONGO_HOST: mongo
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
ports:
- "30000:8080"
#ports:
#- "30000:8080"
sure-tosca:
image: qcdis/sure-tosca:3.0.0
ports:
- "30001:8081"
#ports:
#- "30001:8081"
planner:
depends_on:
- rabbit
- sure-tosca
image: qcdis/planner:3.0.0 #planner:3.0.0
image: qcdis/planner:3.0.0
environment:
RABBITMQ_HOST: rabbit
......@@ -94,7 +87,7 @@ services:
depends_on:
- rabbit
- sure-tosca
image: qcdis/provisioner:3.0.0 #provisioner:3.0.0
image: qcdis/provisioner:3.0.0
environment:
RABBITMQ_HOST: rabbit
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
......@@ -103,11 +96,10 @@ services:
depends_on:
- rabbit
- sure-tosca
image: qcdis/deployer:3.0.0 #deployer:3.0.0
image: qcdis/deployer:3.0.0
environment:
RABBITMQ_HOST: rabbit
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
#volumes:
#db-data:
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
#namespace: conf
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: basic-auth
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required'
#nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth"
#nginx.ingress.kubernetes.io/auth-signin: "https://$host/oauth2/start?rd=$escaped_request_uri"
name: conf-ingress
spec:
rules:
- host: fry.lab.uvalight.net
http:
paths:
#- path: /
#backend:
#serviceName: manager
#servicePort: 8080
- path: /conf/semaphore
backend:
serviceName: semaphore
servicePort: 3000
- path: /conf/sure-tosca
backend:
serviceName: sure-tosca
servicePort: 8081
- path: /conf/manager
backend:
serviceName: manager
servicePort: 8080
apiVersion: apps/v1
kind: Deployment
metadata:
#namespace: conf
annotations:
kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309)
......
apiVersion: apps/v1
kind: Deployment
metadata:
#namespace: conf
annotations:
kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309)
......
......@@ -10,6 +10,9 @@ metadata:
io.kompose.service: semaphore
name: semaphore
spec:
#type: NodePort
#ports:
#- port: 3000
ports:
- name: "3000"
port: 3000
......
......@@ -11,10 +11,11 @@ metadata:
name: sure-tosca
spec:
ports:
- name: "8081"
port: 8081
- port: 8081
targetPort: 8081
protocol: TCP
name: http
selector:
io.kompose.service: sure-tosca
status:
loadBalancer: {}
loadBalancer: {}
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-config
data:
nginx.conf: |
worker_processes auto;
events {
worker_connections 1024;
use epoll;
multi_accept on;
}
http {
tcp_nodelay on;
# this is necessary for us to be able to disable request buffering in all cases
proxy_http_version 1.1;
upstream semaphore {
server semaphore:3000;
}
# upstream sure-tosca {
# server sure-tosca:8081;
# }
server {
listen [::]:80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
server {
auth_basic "User's Area";
auth_basic_user_file /etc/nginx/htpasswd;
listen 443 ssl;
server_name _;
# add Strict-Transport-Security to prevent man in the middle attacks
add_header Strict-Transport-Security "max-age=31536000" always;
# SSL
ssl_certificate /etc/nginx/cert/cert.pem;
ssl_certificate_key /etc/nginx/cert/privkey.pem;
# Recommendations from https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html
ssl_protocols TLSv1.1 TLSv1.2;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
# disable any limits to avoid HTTP 413 for large image uploads
client_max_body_size 0;
# required to avoid HTTP 411: see Issue #1486 (https://github.com/docker/docker/issues/1486)
chunked_transfer_encoding on;
location / {
proxy_pass http://semaphore/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_request_buffering off;
}
location /api/ws {
proxy_pass http://semaphore/api/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Origin "";
}
location /tosca-sure/1.0.0/ {
proxy_pass http://sure-tosca:8081/tosca-sure/1.0.0/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_request_buffering off;
}
location /manager/ {
proxy_pass http:///manager:8080/manager;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_request_buffering off;
}
}
}
cert.pem: |
second file
contents
privkey.pem: |
second file
contents
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: nginx
name: nginx
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: nginx
spec:
containers:
- image: nginx
name: nginx
ports:
- containerPort: 80
- containerPort: 443
resources: {}
volumeMounts:
- mountPath: /etc/nginx/nginx.conf
name: nginx-claim0
- mountPath: /etc/nginx/cert/cert.pem
name: nginx-claim1
- mountPath: /etc/nginx/cert/privkey.pem
name: nginx-claim2
- mountPath: /etc/nginx/htpasswd
name: nginx-claim3
restartPolicy: Always
volumes:
- name: nginx-claim0
persistentVolumeClaim:
claimName: nginx-claim0
- name: nginx-claim1
persistentVolumeClaim:
claimName: nginx-claim1
- name: nginx-claim2
persistentVolumeClaim:
claimName: nginx-claim2
- name: nginx-claim3
persistentVolumeClaim:
claimName: nginx-claim3
status: {}
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: nginx
name: nginx
spec:
type: NodePort
ports:
- port: 80
nodePort: 30000
- port: 443
nodePort: 30001
selector:
io.kompose.service: nginx
status:
loadBalancer: {}
worker_processes auto;
events {
worker_connections 1024;
use epoll;
multi_accept on;
}
http {
tcp_nodelay on;
# this is necessary for us to be able to disable request buffering in all cases
proxy_http_version 1.1;
upstream semaphore {
server semaphore:3000;
}
# upstream sure-tosca {
# server sure-tosca:8081;
# }
server {
listen [::]:80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
server {
auth_basic "User's Area";
auth_basic_user_file /etc/nginx/htpasswd;
listen 443 ssl;
server_name _;
# add Strict-Transport-Security to prevent man in the middle attacks
add_header Strict-Transport-Security "max-age=31536000" always;
# SSL
ssl_certificate /etc/nginx/cert/cert.pem;
ssl_certificate_key /etc/nginx/cert/privkey.pem;
# Recommendations from https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html
ssl_protocols TLSv1.1 TLSv1.2;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
# disable any limits to avoid HTTP 413 for large image uploads
client_max_body_size 0;
# required to avoid HTTP 411: see Issue #1486 (https://github.com/docker/docker/issues/1486)
chunked_transfer_encoding on;
location / {
proxy_pass http://semaphore/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_request_buffering off;
}
location /api/ws {
proxy_pass http://semaphore/api/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Origin "";
}
location /tosca-sure/1.0.0/ {
proxy_pass http://sure-tosca:8081/tosca-sure/1.0.0/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_request_buffering off;
}
location /manager/ {
proxy_pass http:///manager:8080/manager;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_request_buffering off;
}
}
}
......@@ -10,7 +10,7 @@
node_templates:
type: object
additionalProperties:
$ref: 'https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/TOSCA/NodeTemplate.yml#/NodeTemplate'
$ref: 'https://raw.githubusercontent.com/skoulouzis/CONF/develop/openAPI/schema/TOSCA/NodeTemplate.yml#/NodeTemplate'
relationship_templates:
type: object
additionalProperties:
......
......@@ -8,7 +8,7 @@
template_name:
type: "string"
topology_template:
$ref: "https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/schema/TOSCA/TopologyTemplate.yml#/TopologyTemplate"
$ref: "https://raw.githubusercontent.com/skoulouzis/CONF/develop/openAPI/schema/TOSCA/TopologyTemplate.yml#/TopologyTemplate"
template_author:
type: "string"
template_version:
......
Mode: "LOCAL"
InfrasCodes:
- CodeType: "SEQ"
OpCode:
Operation: "provision"
ObjectType: "SubTopology"
Objects: "subTopology0"
Log: false
---
userName: "vm_user"
publicKeyPath: "name@id_rsa.pub"
topologies:
- topology: "subTopology0"
cloudProvider: "EC2"
subTopologyClass: null
domain: "Frankfurt"
status: "running"
logsInfo:
vm1#provision: "46122@1584711324847"
subTopology0#Network: "8@1584711392902"
vm1#network: "1@1584711392903"
subTopology0#Provision: "73562@1584711319326"
vm1#deploy: "0@1584711389663"
vm0#deploy: "0@1584711392875"
vm0#network: "0@1584711392903"
vm0#provision: "47480@1584711324847"
sshKeyPairId: "ec2-frankfurt"
scaledFrom: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zRVH5Eivk4Y7hF
d/ehz/DJOJwG/+5T1lWdQ8BdIvjzG3w0FVoM1ocO/pyQ05YlD2JgpWU4Fm5koLFsk6ABTd3LZc9J
AoGBAIQ2X5/QvhKJ8CpJ+laxCsBAOXM1x6IQRiQXr+g2XZuZvzfI4c3SaT/EJlzJsBA/WMLQzFtj
wclK1dhY27poA+FpXvlgV9ig4G1/SwJttBphagtT7Mi4hz12R52Qn3vowu1vsYV/0svQ8/qCF19K
z6SYQ0y4LcIriSka2V8Da/KLAoGAbbA+F0jveyOxrmhITOFeyFdUOtCUDH5sfbsYP9gpX2pm23v/
ddRS73v4zXynn8FEiJ25ZsN9yTmNo0m6MAfXI/rO3enxU0SyS/Orr0rdxkgI01K1XfVImYz8xIJR
6OfMe+ADSG3lMg+c+2vx6cJdl6jBCVWb13yVIePnKkuUUdECgYEAptbxEJnMY6if+T6iSzxYnQI8
IQAgc4agvV/kfKFcC2nINnzo/lEK9gB/ouIglPucArNZc1oFXLbM8amiWsuKmCC1/dIgpyeuH0UI
07hFdfqRoZBFWaxyzbpI14VHZzVvAzI56iCu9nyTY9WmofdRYr8KxyIQHWtjzijyaTjs/WY=
-----END RSA PRIVATE KEY-----
\ No newline at end of file
publicKey-51f85b81-05de-4c84-ae8e-8234ff81d0c9
\ No newline at end of file
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQCjchIvD7aRMOPWqvpBEr2Tj9UtZQGjNL8alwRDlwERFB7rEbiQ
ImBBnrCBBLTS2XM/AM9oyG1RAiT+ZSXdCvdElhrfzmWu/wYnyfoQOKU+BV3tqLbm
MLd4/8uqo4LI/7gRqGn+Qc8rmAyXaaEA4ZIe8Nl9Y1jXFeZpD8+42vOUuQIDAQAB
AoGAK46FrAb69zxZK2cLI/ZTkRR+kgdd5Vl0KCjgmQaP4TZEew6Q6dBPaI1aqjdP
3PTYEo0ruNfY0gLJSwY3je2TMUQ40yUAHis/QRwzQapcD2a5v8JdLiXiEgt3QATD
kKckYDQM6OyP5VLjCDQe41XZm8Qb2/7kApYjkTeJGyjy59ECQQD0DUyzKE4AjeRy
5s0kEyDyhjABHG0xwaN8ZSqdcr63oNFtzJ6rvMQ8rJ9sV8in6pkaH5gXxin2xrjV
C/j4+bf9AkEAq3KIZOCMSb8ZcPSoiIEGpnIJjTSXwwzgljd/8z9/DPXibUkPxGD4
wG+QOVaJdotIXiQmMHhugDrjYlJRDbqWbQJALPg2ZdzLYrbCnZmBu1/69jVbqxi9
1ilEIqvRimmWUufDL2RA6IxD7JoyVhhm1OoZhALGV7sgCGTdsgQewGHjUQJBAJSv
a2Iw6vk55dJ0G4TmgOHwnB/9sG/TxyH/V9OZCZIv3AJzDl18y734Atf3GJfaCxS5
vPTkPNCwQWqPgQOrAbECQB+xedIyI2BKUJq8/blHDznDm0d5jytmtxXunmg625EB
fXKn1GWohmWiJcnSV/ZuCgMIUcvxN/gCjqSix3yVpEw=
-----END RSA PRIVATE KEY-----
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCjchIvD7aRMOPWqvpBEr2Tj9UtZQGjNL8alwRDlwERFB7rEbiQImBBnrCBBLTS2XM/AM9oyG1RAiT+ZSXdCvdElhrfzmWu/wYnyfoQOKU+BV3tqLbmMLd4/8uqo4LI/7gRqGn+Qc8rmAyXaaEA4ZIe8Nl9Y1jXFeZpD8+42vOUuQ== generated user accees keys
---
SEngineClass: null
extraInfo: null
WhetherCreateVPC: "true"
VMs:
- name: "vm0"
type: null
diskSize: null
script: null
publicAddress: "3.127.210.184"
selfEthAddresses: null
VEngineClass: null
extraInfo:
AMI: "ami-0b418580298265d5c"
VNFType: null
scaledFrom: null
fake: null
IOPS: "0"
vpcId: "vpc-026d1328c70ed94c8"
subnetId: "subnet-0d30ffac014e1e444"
securityGroupId: "sg-0d80e81c7539de200"
instanceId: "i-04ceeccfb470d5e43"
volumeId: null
routeTableId: "rtb-04d347fa8a98df9ba"
internetGatewayId: "igw-0213d68f2bc6efabd"
nodeType: "t2.micro"
CPU: "1"
mem: "1"
OStype: "Ubuntu 18.04"
DefaultSSHAccount: "ubuntu"
Price: "0.0116"
availability: null
OS_URL: null
OS_GUID: null
- name: "vm1"
type: null
diskSize: null
script: null
publicAddress: "3.120.175.137"
selfEthAddresses: null
VEngineClass: null
extraInfo:
AMI: "ami-0b418580298265d5c"
VNFType: null
scaledFrom: null
fake: null
IOPS: "0"
vpcId: "vpc-026d1328c70ed94c8"
subnetId: "subnet-0d30ffac014e1e444"
securityGroupId: "sg-0d80e81c7539de200"
instanceId: "i-0e1ab567301fe1ec7"
volumeId: null
routeTableId: "rtb-04d347fa8a98df9ba"
internetGatewayId: "igw-0213d68f2bc6efabd"
nodeType: "t2.micro"
CPU: "1"
mem: "1"
OStype: "Ubuntu 18.04"
DefaultSSHAccount: "ubuntu"
Price: "0.0116"
availability: null
OS_URL: null
OS_GUID: null
accessKey: "AKIAILQXXSSEQGQ46KWA"
secretKey: "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"
cloudCreds:
- cloudProvider: "EC2"
credInfoFile: "EC20.yml"
DCMetaInfo:
- domain: "Virginia"
endpoint: "ec2.us-east-1.amazonaws.com"
country: USA
longitude: "78.65 W"
latitude: "37.43 N"
availability: null
VMMetaInfo:
- OS: "Ubuntu 14.04"
CPU: 1
MEM: 0.5
VMType: "t2.nano"
Price: 0.0058
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-33e4bc49"
- OS: "Ubuntu 14.04"
CPU: 1
MEM: 1
VMType: "t2.micro"
Price: 0.0116
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-33e4bc49"
- OS: "Ubuntu 14.04"
CPU: 2
MEM: 4
VMType: "t2.medium"
Price: 0.0464
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-33e4bc49"
- OS: "Ubuntu 16.04"
CPU: 1
MEM: 0.5
VMType: "t2.nano"
Price: 0.0058
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-41e0b93b"
- OS: "Ubuntu 16.04"
CPU: 1
MEM: 1
VMType: "t2.micro"
Price: 0.0116
DefaultSSHAccount: "ubuntu"
- OS: "Ubuntu 16.04"
CPU: 2
MEM: 4
VMType: "t2.medium"
Price: 0.0464
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-41e0b93b"
- domain: "California"
endpoint: "ec2.us-west-1.amazonaws.com"
country: USA
longitude: "119.42 W"
latitude: "36.78 N"
availability: null
VMMetaInfo:
- OS: "Ubuntu 14.04"
CPU: 1
MEM: 0.5
VMType: "t2.nano"
Price: 0.0069
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-915f5cf1"
- OS: "Ubuntu 14.04"
CPU: 1
MEM: 1
VMType: "t2.micro"
Price: 0.0138
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-915f5cf1"
- OS: "Ubuntu 14.04"
CPU: 2
MEM: 4
VMType: "t2.medium"
Price: 0.0552
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-915f5cf1"
- OS: "Ubuntu 16.04"
CPU: 1
MEM: 0.5
VMType: "t2.nano"
Price: 0.0069
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-79aeae19"
- OS: "Ubuntu 16.04"
CPU: 1
MEM: 1
VMType: "t2.micro"
Price: 0.0138
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-79aeae19"
- OS: "Ubuntu 16.04"
CPU: 2
MEM: 4
VMType: "t2.medium"
Price: 0.0552
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-79aeae19"
- domain: "Ohio"
endpoint: "ec2.us-east-2.amazonaws.com"
country: USA
longitude: "82.90 W"
latitude: "40.42 N"
availability: null
VMMetaInfo:
- OS: "Ubuntu 14.04"
CPU: 1
MEM: 0.5
VMType: "t2.nano"
Price: 0.0058
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-f0f8d695"
- OS: "Ubuntu 14.04"
CPU: 1
MEM: 1
VMType: "t2.micro"
Price: 0.0116
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-f0f8d695"
- OS: "Ubuntu 14.04"
CPU: 2
MEM: 4
VMType: "t2.medium"
Price: 0.0464
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-f0f8d695"
- OS: "Ubuntu 16.04"
CPU: 1
MEM: 0.5
VMType: "t2.nano"
Price: 0.0058
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-2581aa40"
- OS: "Ubuntu 16.04"
CPU: 1
MEM: 1
VMType: "t2.micro"
Price: 0.0116
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-2581aa40"
- OS: "Ubuntu 16.04"
CPU: 2
MEM: 4
VMType: "t2.medium"
Price: 0.0464
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-2581aa40"
- domain: "Frankfurt"
endpoint: "ec2.eu-central-1.amazonaws.com"
country: Germany
longitude: "50.1109"
latitude: "8.68213"
availability: null
VMMetaInfo:
- OS: "Ubuntu 18.04"
CPU: 1
MEM: 0.5
VMType: "t2.nano"
Price: 0.0058
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-0b418580298265d5c"
- OS: "Ubuntu 18.04"
CPU: 1
MEM: 1
VMType: "t2.micro"
Price: 0.0116
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-0b418580298265d5c"
- OS: "Ubuntu 18.04"
CPU: 1
MEM: 2
VMType: "t2.small"
Price: 0.0116
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-0b418580298265d5c"
- OS: "Ubuntu 18.04"
CPU: 2
MEM: 4
VMType: "t2.medium"
Price: 0.0464
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-0b418580298265d5c"
- OS: "Ubuntu 18.04"
CPU: 2
MEM: 8
VMType: "t2.large"
Price: 0.0464
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-0b418580298265d5c"
- OS: "Ubuntu 18.04"
CPU: 4
MEM: 16
VMType: "t2.xlarge"
Price: 0.0464
DefaultSSHAccount: "ubuntu"
extraInfo:
AMI: "ami-0b418580298265d5c"
DCMetaInfo:
- domain: "CESNET"
endpoint: "https://carach5.ics.muni.cz:11443"
country: CZE
longitude: "15.47 E"
latitude: "49.82 N"
availability: null
VMMetaInfo:
- OS: "Ubuntu 14.04"
CPU: 2
MEM: 2
VMType: "medium"
Price: null
DefaultSSHAccount: "ubuntu"
extraInfo:
OS_OCCI_ID: "http://occi.carach5.ics.muni.cz/occi/infrastructure/os_tpl#uuid_38d42ca1_f4e9_5b5c_98de_37eb2d26301a_warg_default_shared_218"
RES_OCCI_ID: "http://fedcloud.egi.eu/occi/compute/flavour/1.0#medium"
- OS: "Ubuntu 14.04"
CPU: 8
MEM: 8
VMType: "extra_large"
Price: null
DefaultSSHAccount: "ubuntu"
extraInfo:
OS_OCCI_ID: "http://occi.carach5.ics.muni.cz/occi/infrastructure/os_tpl#uuid_38d42ca1_f4e9_5b5c_98de_37eb2d26301a_warg_default_shared_218"
RES_OCCI_ID: "http://schemas.fedcloud.egi.eu/occi/infrastructure/resource_tpl#extra_large"
- OS: "Ubuntu 14.04"
CPU: 1
MEM: 1
VMType: "small"
Price: null
DefaultSSHAccount: "ubuntu"
extraInfo:
OS_OCCI_ID: "http://occi.carach5.ics.muni.cz/occi/infrastructure/os_tpl#uuid_38d42ca1_f4e9_5b5c_98de_37eb2d26301a_warg_default_shared_218"
RES_OCCI_ID: "http://fedcloud.egi.eu/occi/compute/flavour/1.0#small"
This diff is collapsed.
cloudDBs:
- cloudProvider: "EC2"
dbInfoFile: EC2.yml
- cloudProvider: "ExoGENI"
dbInfoFile: ExoGENI.yml
- cloudProvider: "EGI"
dbInfoFile: EGI.yml
2020-03-20 14:35:19,077 [INFO ] [lambdaExprs.infrasCode.main.ICYAML.loadInfrasCodes] Infrastructure code from /tmp/Input-256701871377403/App/infrasCode.yml is loaded successfully!
2020-03-20 14:35:19,078 [INFO ] [lambdaInfrs.engine.SEngine.EC2SEngine.createAccessSSHKey] There is no ssh key pair for sub-topology 'subTopology0'! Generating!
2020-03-20 14:35:31,298 [INFO ] [lambdaInfrs.engine.VEngine.EC2.EC2VEngine.provision] Get 'i-04ceeccfb470d5e43' <-> 3.127.210.184
2020-03-20 14:35:31,307 [INFO ] [lambdaInfrs.engine.VEngine.EC2.EC2VEngine.provision] Get 'i-0e1ab567301fe1ec7' <-> 3.120.175.137
2020-03-20 14:36:10,962 [INFO ] [lambdaInfrs.engine.VEngine.EC2.EC2VEngine.provision] vm1 (3.120.175.137) is activated!
2020-03-20 14:36:12,326 [INFO ] [lambdaInfrs.engine.VEngine.EC2.EC2VEngine.provision] vm0 (3.127.210.184) is activated!
2020-03-20 14:36:13,597 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > user.pub exitCode: 0
2020-03-20 14:36:14,935 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > user.pub exitCode: 0
2020-03-20 14:36:15,464 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > id_rsa.pub exitCode: 0
2020-03-20 14:36:17,108 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > id_rsa.pub exitCode: 0
2020-03-20 14:36:17,240 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > id_rsa exitCode: 0
2020-03-20 14:36:19,153 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > sshconf.sh && sudo bash sshconf.sh exitCode: 0
2020-03-20 14:36:19,375 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > id_rsa exitCode: 0
2020-03-20 14:36:21,405 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: rm sshconf.sh exitCode: 0
2020-03-20 14:36:21,917 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > sshconf.sh && sudo bash sshconf.sh exitCode: 0
2020-03-20 14:36:23,028 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > user.pub exitCode: 0
2020-03-20 14:36:24,060 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: rm sshconf.sh exitCode: 0
2020-03-20 14:36:24,686 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > id_rsa.pub exitCode: 0
2020-03-20 14:36:26,208 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > user.pub exitCode: 0
2020-03-20 14:36:26,408 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > id_rsa exitCode: 0
2020-03-20 14:36:27,837 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > id_rsa.pub exitCode: 0
2020-03-20 14:36:28,032 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > sshconf.sh && sudo bash sshconf.sh exitCode: 0
2020-03-20 14:36:29,485 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > id_rsa exitCode: 0
2020-03-20 14:36:29,662 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: rm sshconf.sh exitCode: 0
2020-03-20 14:36:29,663 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.confENV] There is no script needed for 'vm1' to run!
2020-03-20 14:36:31,130 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: cat > sshconf.sh && sudo bash sshconf.sh exitCode: 0
2020-03-20 14:36:32,874 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.execShell] Command: rm sshconf.sh exitCode: 0
2020-03-20 14:36:32,875 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.confENV] There is no script needed for 'vm0' to run!
2020-03-20 14:36:32,886 [INFO ] [lambdaInfrs.engine.SEngine.adapter.SEngine_provision.run] Sub-topology 'subTopology0' has been provisioned!
2020-03-20 14:36:32,899 [INFO ] [topology.description.actual.SubTopology.saveSSHKeys] The key pair 'ec2-frankfurt' has already been stored!
2020-03-20 14:36:32,900 [INFO ] [lambdaInfrs.engine.TEngine.TEngine.connectionConf] Connecting sub-topology 'subTopology0' from 'EC2'
2020-03-20 14:36:32,903 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.confVNF] There is no connection need to be configured for vm0
2020-03-20 14:36:32,903 [INFO ] [lambdaInfrs.engine.VEngine.OS.ubuntu.VEngineUbuntu.confVNF] There is no connection need to be configured for vm1
2020-03-20 14:36:32,910 [INFO ] [topology.description.actual.SubTopology.saveSSHKeys] The key pair 'ec2-frankfurt' has already been stored!
2020-03-20 14:36:32,910 [INFO ] [lambdaInfrs.engine.TEngine.TEngine.provision] All the running sub-topologies have been connected!
2020-03-20 14:36:32,916 [WARN ] [standalone.MainAsTool.main] Finished!
LOGs:
- Time: "1584711392914"
Overhead: "73837"
Event:
Operation: "provision"
Command: null
Options: null
Log: "false"
LogString: null
ObjectType: "SubTopology"
Objects: "subTopology0"
LOG:
vm1#provision: "46122@1584711324847"
subTopology0#Network: "8@1584711392902"
vm1#network: "1@1584711392903"
subTopology0#Provision: "73562@1584711319326"
vm1#deploy: "0@1584711389663"
vm0#deploy: "0@1584711392875"
vm0#network: "0@1584711392903"
vm0#pubIP: "3.127.210.184"
vm0#provision: "47480@1584711324847"
vm1#pubIP: "3.120.175.137"
......@@ -2,7 +2,6 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="3f84153d-6ed1-4691-94d6-53105266f15e" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/../docker-compose.yml" beforeDir="false" afterPath="$PROJECT_DIR$/../docker-compose.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment