{"id":13984005,"url":"https://github.com/leboncoin/terraform-aws-nvme-example","last_synced_at":"2025-07-16T08:04:01.282Z","repository":{"id":32667681,"uuid":"128959557","full_name":"leboncoin/terraform-aws-nvme-example","owner":"leboncoin","description":"Example to manage your EBS NVME volumes on AWS","archived":false,"fork":false,"pushed_at":"2025-01-19T00:19:04.000Z","size":5,"stargazers_count":50,"open_issues_count":2,"forks_count":13,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-16T02:16:03.195Z","etag":null,"topics":["aws","cloud-init","leboncoin","nvme","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leboncoin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-10T15:56:58.000Z","updated_at":"2024-02-07T15:48:17.000Z","dependencies_parsed_at":"2025-04-16T02:11:38.498Z","dependency_job_id":"93ab3cea-19d2-48ad-ac73-d6d5708d7bcf","html_url":"https://github.com/leboncoin/terraform-aws-nvme-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leboncoin/terraform-aws-nvme-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leboncoin%2Fterraform-aws-nvme-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leboncoin%2Fterraform-aws-nvme-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leboncoin%2Fterraform-aws-nvme-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leboncoin%2Fterraform-aws-nvme-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leboncoin","download_url":"https://codeload.github.com/leboncoin/terraform-aws-nvme-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leboncoin%2Fterraform-aws-nvme-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265494750,"owners_count":23776502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cloud-init","leboncoin","nvme","terraform"],"created_at":"2024-08-09T05:02:07.901Z","updated_at":"2025-07-16T08:04:01.224Z","avatar_url":"https://github.com/leboncoin.png","language":"HCL","funding_links":[],"categories":["HCL"],"sub_categories":[],"readme":"# Terraform Demo: Mount your EBS NVME\n\n## Goal\n\nFor C5 and M5 type instances, EBS volumes are exposed as NVMe block devices. \nThe device names are /dev/nvme0n1, /dev/nvme1n1, and so on. \nThe device name that you specify in a block device mapping are renamed using NVMe device naming convention (/dev/nvme[0-26]n1).\n\nHere we offer a simple example to link your current volume name with this new naming\n\n## FAQ\n\n- We created a volume with the name /dev/xdvf but my volume now mounts on /dev/nvme[0-26]n1\n- My volume name /dev/nvme[0-26]n1 is not identical between instances\n- How we can retrieve the volume name to format and mount this\n- How we can manage the discrepqncy between old and new instances\n\n## Prerequisites\n\n[Terraform](https://terraform.io/intro/getting-started/install.html)\n\n[Aws Account](https://aws.amazon.com/)\n\n[Cloud-Init](http://cloudinit.readthedocs.io)\n\n## Ready to go\n\n```\nterraform plan\nterraform apply\n```\n\nStep 1: The machine is created\n\nStep 2: Cloud-init installs nvme-cli\n\nStep 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 )\n\nStep 4: Cloud-init runs a script to retrieve the UUID from the new symlink, formats, mounts and adds to fstab by UUID\n\nYour environment is ready\n\n# Contributing\n\nYou can contribute or implement your own things.\n\n# License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleboncoin%2Fterraform-aws-nvme-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleboncoin%2Fterraform-aws-nvme-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleboncoin%2Fterraform-aws-nvme-example/lists"}