All Projects → leboncoin → terraform-aws-nvme-example

leboncoin / terraform-aws-nvme-example

Licence: MIT license
Example to manage your EBS NVME volumes on AWS

Programming Languages

HCL
1544 projects
shell
77523 projects
Smarty
1635 projects

Projects that are alternatives of or similar to terraform-aws-nvme-example

rancher-terraform-digitalocean
Terraform module for a rancher server on digitalocean.
Stars: ✭ 21 (-54.35%)
Mutual labels:  cloud-init
jNVMf
A NVMf library for Java
Stars: ✭ 23 (-50%)
Mutual labels:  nvme
scrapy-LBC
Araignée LeBonCoin avec Scrapy et ElasticSearch
Stars: ✭ 14 (-69.57%)
Mutual labels:  leboncoin
untoitpourcaramel
#UnToitPourCaramel – Outil agrégeant les annonces immobilières dans un tableau Trello
Stars: ✭ 44 (-4.35%)
Mutual labels:  leboncoin
sedcli
sedcli and libsed library for NVMe Self-Encrypting Drives (SEDs) management
Stars: ✭ 22 (-52.17%)
Mutual labels:  nvme
ToolBin
All the great tools we have for the field.
Stars: ✭ 91 (+97.83%)
Mutual labels:  nvme
deploy-vm
Libvirt wrapper to spawn VMs using cloud images
Stars: ✭ 56 (+21.74%)
Mutual labels:  cloud-init
pynvme
builds your own tests.
Stars: ✭ 139 (+202.17%)
Mutual labels:  nvme
zenfs
ZenFS is a storage backend for RocksDB that enables support for ZNS SSDs and SMR HDDs.
Stars: ✭ 63 (+36.96%)
Mutual labels:  nvme
ansible-qemu-kvm
Ansible role to provision KVM/QEMU virtual machines
Stars: ✭ 38 (-17.39%)
Mutual labels:  cloud-init
netarbiter
Multi-site Network Emulation, Kubeadm-installed Kubernetes, NVMe over Fabrics
Stars: ✭ 18 (-60.87%)
Mutual labels:  nvme
FEMU
FEMU: Accurate, Scalable and Extensible NVMe SSD Emulator (FAST'18)
Stars: ✭ 213 (+363.04%)
Mutual labels:  nvme
simple-ansible-inventory
A simple, clean and easily readable Ansible inventory
Stars: ✭ 25 (-45.65%)
Mutual labels:  leboncoin
AgentBaker
Agent Baker is aiming to provide a centralized, portable k8s agent node provisioning lib as well as rich support on different OS image with optimized k8s binaries.
Stars: ✭ 45 (-2.17%)
Mutual labels:  cloud-init
Hobo-Sapiens
A telegram bot to automatically search for apartments for rent
Stars: ✭ 37 (-19.57%)
Mutual labels:  leboncoin
cloud-init-example
Example of setting user-data for AWS EC2 with multipart data, tests the order in which various user data formats are run
Stars: ✭ 39 (-15.22%)
Mutual labels:  cloud-init
cloud-agent
cloud-agent for OpenBSD 🕵️‍♀️
Stars: ✭ 43 (-6.52%)
Mutual labels:  cloud-init
dialogflow-go-webhook
Simple package to create DialogFlow v2 webhooks using Go
Stars: ✭ 23 (-50%)
Mutual labels:  leboncoin
nvfuse
NVMe based File System in User-space
Stars: ✭ 81 (+76.09%)
Mutual labels:  nvme
cNVMe
An NVMe Device Simulation Library.
Stars: ✭ 41 (-10.87%)
Mutual labels:  nvme

Terraform Demo: Mount your EBS NVME

Goal

For C5 and M5 type instances, EBS volumes are exposed as NVMe block devices. The device names are /dev/nvme0n1, /dev/nvme1n1, and so on. The device name that you specify in a block device mapping are renamed using NVMe device naming convention (/dev/nvme[0-26]n1).

Here we offer a simple example to link your current volume name with this new naming

FAQ

  • We created a volume with the name /dev/xdvf but my volume now mounts on /dev/nvme[0-26]n1
  • My volume name /dev/nvme[0-26]n1 is not identical between instances
  • How we can retrieve the volume name to format and mount this
  • How we can manage the discrepqncy between old and new instances

Prerequisites

Terraform

Aws Account

Cloud-Init

Ready to go

terraform plan
terraform apply

Step 1: The machine is created

Step 2: Cloud-init installs nvme-cli

Step 3: Cloud-init runs a script to retrieve the volume name with tag /dev/(sd[b-z]|xvd[b-z]) and creates a temporary symbolic link ( removed after reboot )

Step 4: Cloud-init runs a script to retrieve the UUID from the new symlink, formats, mounts and adds to fstab by UUID

Your environment is ready

Contributing

You can contribute or implement your own things.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].