# Aws AMI Optimization Pixelstreaming

**URL:** <https://forums.unrealengine.com/t/aws-ami-optimization-pixelstreaming/790524>\
**Category:** Programming & Scripting\
**Tags:** aws, unreal-engine\
**Created:** [March 14, 2023, 12:42pm UTC](https://forums.unrealengine.com/t/aws-ami-optimization-pixelstreaming/790524 "2023-03-14T12:42:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Netzwerk3D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Netzwerk3D](https://forums.unrealengine.com/u/Netzwerk3D)\
**Post date:** [March 14, 2023, 12:42pm UTC](https://forums.unrealengine.com/t/aws-ami-optimization-pixelstreaming/790524/1 "2023-03-14T12:42:04Z")

</div>

Hello forum,

I have a small question. I am using Unreal with Pixel Streaming on the AWS servers.

Currently, when a new user accesses my website, I spin off a new instance from a new AWS AMI. The problem is that it takes too long (5 minutes) for Unreal to start on the new instance. Every time Unreal restarts on a new virtual machine, it needs to recompile all shaders and load them into cache from scratch.

Is there a way to store this data in the AWS AMI so that it doesn’t need to be compiled from scratch every time a new instance is spun off?

Thank you.
