Replies: 1 comment
-
|
Closed, pushed to production as of 24.10 https://awslabs.github.io/scale-out-computing-on-aws-documentation/documentation/architecture/socactl/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This proposal is linked to the migration of SOCA configuration to AWS System Manager Parameter Store: #120
For the first version, the objective is to ship SOCA with its
socactlutility for configuration management. Eventually, our goal is to extend this tool to support log management, queue parameters as well as the ability of display the entire configuration in the web-interface.socactlwill be available on the main node (for SOCA admins) with read/write permissions.socactlwill be available on all other nodes with read permissions onlyOur goal is to reduce configuration errors by removing manual edits for the various configuration files used by SOCA.
Examples:
View all SOCA environment configuration keys
For our example, let's imagine we want to limit the number of EC2 subnets for compute provisioning to only 2.
First, we query the SOCA configuration to determine the current subnet IDs we have configured:
Let's assume we have repurposed
subnet-0c93c372dc59dbb34for another project and we do not want to use it for compute provisioning anymore.We can use
config setto automatically update the value of the/configuration/PrivateSubnetskey.Let's now confirm the value has been updated correctly:
You can get the entire configuration history for this key using
config historyIf needed, you can easily rollback to a previous healthy configuration
Finally, let's verify the value is now back to its original state and our SOCA is configured with 3 private subnets
We are also thinking about adding some input verification. For example, expected values for
/configuration/PrivateSubnetsis aList[str]and anything else will be rejected.We hope this utility will simplify configuration management for SOCA admins.
Beta Was this translation helpful? Give feedback.
All reactions