When launching new instances in Elastigroup, users may encounter the error message:
Can't Spin On-Demand Instances: Code: InvalidKeyPair.NotFound, Message: The key pair 'noKeyPair' does not exist
This error prevents instance deployment and indicates a configuration issue related to the key pair associated with the group.
-
Identify the cause:
The error occurs when the key pair defined in the Elastigroup configuration is invalid or no longer exists in the connected AWS environment. -
Take corrective action:
-
Verify that the key pair specified in the Elastigroup configuration is still present in your AWS account under EC2 → Key Pairs.
-
If the key pair has been deleted or renamed, update the configuration by selecting a valid key pair.
-
Alternatively, remove the key pair reference from the Elastigroup configuration if key-based SSH access is not required.
-
-
Save and redeploy:
After updating the Elastigroup configuration, save the changes and relaunch the group or instance to confirm that the error is resolved.
Outcome
Updating or removing the invalid key pair allows Elastigroup to successfully launch new On-Demand instances without triggering the InvalidKeyPair.NotFound error.
Related Articles
Fix the “can’t spin instances due to duplicate tags” error in Flexera Ocean 15Number of Views Prevent on‑demand instances from reverting to Spot outside configured hours 4Number of Views Resolving the error “Cannot set both 'ondemand' and 'onDemandTypes' parameters” in Elastigroup 8Number of Views Reasons On-Demand instances appear when Spot is set to 100% 20Number of Views How On-Demand instance types are selected in Elastigroup? 10Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago