AWS Community Day CPH - Three problems of Terraform
Comment automatiser le déploiement de sa plateforme sur des infrastructures Bare Metal Dedibox et Instance avec la solution Nomad
1.
2. Jean WASILEWSKI
DEVOPS BARE METAL
Comment automatiser le déploiement
de sa plateforme sur des infrastructures
Bare Metal Dedibox et Instance
avec la solution Nomad.
Pierre-Yves DUBREUCQ
PRODUCT MANAGER BARE METAL
2
3. VISION
Bare Metal Dedibox aura pour
mission de proposer la
transition de nos offres Dedibox
vers notre écosystème cloud
Scaleway afin de permettre à vos
projets de profiter pleinement
de nos innovations.
7. BIG TITLE
Roadmap
Bare Metal Dedibox
Q3 Q4 Next
GA
Terraform
CLI
IP Failover
Placement Group
New offers
New distribution
Metadata / Userdata
Cloudinit
Install under 5 minutes
VPC
7
8. BIG TITLE
Dedicated or Instances or Bare Metal ?
88
Dedicated Server Instances Bare Metal
Dedicated Hardware √ √
High & Latency-
sensitive Workload √ √
Without Neighbour √ √
Billed by usage √ √ √
Flexibility √ √
Scalability √ √
9. Why should I use Bare Metal ?
99
No Hypervisor
No Neighbour
More Security
Dedicated
Hardware
High CPU/RAM
Workloads
Latency-
sensitive
workloads
Cloud Flexibility Scalability
21. BIG TITLE
Deploying Nomad stack with Ansible
Demo
21
●
Create new servers
●
Wait for servers to be available
●
Create Consul servers
●
Deploy Consul agents
●
Deploy Nomad servers and clients
22. Demo
$ ansible-playbook site.yml -i inventory
[WARNING]: provided hosts list is empty, only localhost is available.
Note that the implicit localhost does not match 'all'
PLAY [localhost] ******************************************************
TASK [deploy : Deploy consul instance] ********************************
changed: [localhost] => (item=1)
changed: [localhost] => (item=2)
changed: [localhost] => (item=3)
TASK [deploy : Deploy nomad instance] *********************************
changed: [localhost] => (item=1)
changed: [localhost] => (item=2)
changed: [localhost] => (item=3)
TASK [deploy : Order nomad agents bmaas instance] *********************
changed: [localhost] => (item=1)
changed: [localhost] => (item=2)
changed: [localhost] => (item=3)
TASK [deploy : Wait nomad agents bmaas instance] **********************
ok: [localhost] => (item=1)
ok: [localhost] => (item=2)
ok: [localhost] => (item=3)
[…]
22
26. BIG TITLE
Ansible code
Demo deployment
https://github.com/scaleway/demo-
scaleway-ansible-baremetal
Try it !!
26
27. Follow our news and tutorials on Twitter and LinkedIn with
@Scaleway
Follow me us LinkedIn with @pydubreucq and @jeanwasilewski
And on GitHub via @henyxia
THANK YOU
27
Slides Demo