How to set default volume size ?

16 views
Skip to first unread message

Arunkumar Janarthanan

unread,
Aug 30, 2018, 6:12:12 PM8/30/18
to Packer
Hi All,

I am trying to copy a ECS-Optimized AMI with encryption enabled and default volume size to 80 gig, kindly advise if there is any sample config I could use to provision the same.

Thanks,
Arun Janarthanan

Rickard von Essen

unread,
Sep 1, 2018, 8:55:28 AM9/1/18
to packe...@googlegroups.com
Use appropriate launch_block_device_mappings or (ami_block_device_mappings)

"launch_block_device_mappings": [ {
            "device_name": "/dev/xvda",
            "volume_size": 80,
            "delete_on_termination": true
 } ]

See

Also see this previous thread:



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/6e270b5f-c6a0-42a8-a522-abf04643f5f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Arunkumar Janarthanan

unread,
Sep 4, 2018, 10:28:00 AM9/4/18
to packe...@googlegroups.com
Hi Richard,

It worked like a charm, thanks a bunch !

Cheers,
Arun 

Best Regards,
Arun Janarthanan



On Sat, Sep 1, 2018 at 8:55 AM, Rickard von Essen <rickard....@gmail.com> wrote:
Use appropriate launch_block_device_mappings or (ami_block_device_mappings)

"launch_block_device_mappings": [ {
            "device_name": "/dev/xvda",
            "volume_size": 80,
            "delete_on_termination": true
 } ]

See

Also see this previous thread:


On Fri, 31 Aug 2018 at 00:12, Arunkumar Janarthanan <arunkumar...@gmail.com> wrote:
Hi All,

I am trying to copy a ECS-Optimized AMI with encryption enabled and default volume size to 80 gig, kindly advise if there is any sample config I could use to provision the same.

Thanks,
Arun Janarthanan

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt8M5BzvMBLNa70P%2BOqcjBtSuGQcruHpNA5p-gPeK1j-gQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages