# How to create EC2 node with swap enabled?

**URL:** <https://forums.suse.com/t/how-to-create-ec2-node-with-swap-enabled/5606>\
**Category:** Rancher 1.x\
**Created:** [February 21, 2017, 7:29am UTC](https://forums.suse.com/t/how-to-create-ec2-node-with-swap-enabled/5606 "2017-02-21T07:29:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oroc95](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/oroc95/32/4069_2.png) [@oroc95](https://forums.suse.com/u/oroc95)\
**Post date:** [February 21, 2017, 7:29am UTC](https://forums.suse.com/t/how-to-create-ec2-node-with-swap-enabled/5606/1 "2017-02-21T07:29:04Z")

</div>

Hi  
By default rancher create node on EC2 without swap.

The issue is that if i run too much containers, the node crashe.

I know that is it is not good to swap on the node, but it’s not a reason to crash the node because the swap is disabled .

Do you know how to enable the swap during the EC2 création into Rancher ?
