Comments (5)
Hi Neil,
How did you extend the CrossAccountRoles parameter? The limitation you described is a known limitation for which Instance Scheduler provides 2 alternative solutions for out of the box
The first option is to use automatic spoke account registration via AWS Organizations.
The second option would be to define your spoke account IDs using SSM parameters and let the solution dynamically load these account ids directly from SSM during scheduling.
You can find details on both of these approaches in our IG here:
https://docs.aws.amazon.com/solutions/latest/instance-scheduler-on-aws/cross-account-instance-scheduling.html
I hope that helps!
Cryptic
from instance-scheduler-on-aws.
Hi Cryptic,
Thank you for reaching back. The following is what I wrote up following my interaction with Support. It seemed to work but maybe is not a viable solution? I have attached my notes as an attachment. Hope that has come through.
Many thanks.
from instance-scheduler-on-aws.
You can use that method if you would like to manually edit the cloud formation template. However what Support could not have known is that Instance Scheduler already provides a built-in way to handle this scenario without needing to modify the template (quite helpful when updating to new versions).
If you are on the latest version (1.5.1), the preferred approach would be to use automatic registration with AWS Organizations. If that doesn't work for you, I would recommend using the SSM Parameters approach as it will allow you to add additional accounts to the ssm parameter without having to issue an extra CloudFormation update
from instance-scheduler-on-aws.
Hi Cryptic,
So I have upgraded our hub and spoke to 1.5.1. I have elected to use the account ID in the parameter and all appears to be working :). Is there a way to calculate the quota used in the actual parameter field. We have over 300 accounts and we have not long started pushing this out. I don't think we would hit the same issue (4096) but it would be handy to be able to monitor this. Thank you for your support and pointers with this. I am going to close the case.
from instance-scheduler-on-aws.
in terms of the number of characters being used in the CloudFormation? I am not aware of a convenient way of monitoring that specifically, but I will note that the SSM Parameter support provided by Instance Scheduler allows you to define multiple accounts per SSM parameter (as a comma-separated list) and you can then provide multiple SSM parameters to the CloudFormation input field. Together this means that the theoretical upper limit should be far beyond real-world use cases
from instance-scheduler-on-aws.
Related Issues (20)
- Can't start instance without correct KMS permissions HOT 1
- Report Negative Scheduling Patterns HOT 4
- Logger does not show any thing HOT 1
- 'Hibernate' flag doesn't work as documented HOT 2
- Databases of cluster doesn't stop HOT 3
- scheduler-cli Timezone Error HOT 3
- Holiday shutdown HOT 1
- DynamoDB State DB miss reporting correct state of EC2 Instance HOT 5
- Provide a way to specify weekdays after an nth weekday HOT 1
- Skip the stopping of an instance when 'in use' HOT 1
- Invalid PhysicalResourceId and Received response status [FAILED] from custom resource HOT 5
- maximum accounts HOT 1
- ASG support HOT 3
- remote template URL not accessible when used in StackSet HOT 2
- override_status - replacement HOT 4
- Is there a way to have Instance Scheduler support a cron-like syntax to build dynamic schedules in the future HOT 8
- Organisation mode and exclude account HOT 3
- Feature Request - To support multiple one sided starts in a day HOT 1
- Test with Tow accounts in organization mode HOT 2
- General questions regarding version 1.5.6 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instance-scheduler-on-aws.