With on-demand and always-on fleets, it takes 10-15 minutes for another instance to become part of the fleet and available as a streaming resource. You should adjust your scaling polices so you have a larger amount of extra instances ready (buffer capacity).
In this case, you could change your default-scale-out to If Capacity Utilization >= 50 % then add 2 instance(s)
, which would make your fleet larger after 50% of the fleet instances are used.
Scaling is an in-depth conversation. Here is a good blog https://aws.amazon.com/blogs/desktop-and-application-streaming/scale-your-amazon-appstream-2-0-fleets/. If you know your account team, you should reach out and a specialist can go through this in more detail.
With the settings you provided your fleet starts with only two available instances and those would be consumed by the first two URLs to be used. As your instances are used your scaling settings come into play where the back-end will spin up new instances for your users. There is a delay associated with the pending capacity but it should eventually make new instances available up to your maximum of 5.
If you want all four URLs to be usable immediately you need to adjust your minimum capacity to match. Please see here for more details: https://aws.amazon.com/blogs/desktop-and-application-streaming/scale-your-amazon-appstream-2-0-fleets/
Relevant questions
Your instance encountered an error and has closed the connection. Try again or contact customer support. UPSTREAM_ERROR [515]
asked 5 months ago"Application is busy, please try again in a few minutes"
asked 4 months agoYou are currently not allowed to send this e-mail. Please try again later.
asked 3 months agoHow to know when features are available in your region
Accepted Answerasked 4 years agoYour AWS CloudShell data is scheduled for deletion
asked 4 months agoNo streaming resources are available for your session. Try again in a few minutes. If this problem continues, contact your administrator.
asked 3 months agoNo streaming resources are available when connecting to an Appstream streaming url
asked 6 months agoWhat happen if no spot instance are available ?
asked 2 months agoEC2: Error establishing SSH connection to your instance. Please wait and try again later.
asked 19 days agoAppStream: Your session is taking longer than expected to prepare - fails
asked 8 months ago