Failed to create AWS auto-scaling launch configuration due to user data size

Solution Unverified - Updated -

Issue

  • Unable to create launch configuration due to user-data size.
  • User data exceeds the limit of 16 kb.
  • How to create user data user-data cloud init file within the limit?
  • How to create auto-scaling launch configuration correctly?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 3.11
  • Amazon Web Services (AWS)
    • EC2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content