AWS Certified Solutions Architect - Professional (#512)

A company has an application written using an in-house software framework. The framework installation takes 30 minutes and is performed with a user data script. Company Developers deploy changes to the application frequently. The framework installation is becoming a bottleneck in this process. Which of the following would speed up this process?

Create a pipeline to build a custom AMI with the framework installed and use this AMI as a baseline for application deployments.
Employ a user data script to install the framework but compress the installation files to make them smaller.
Create a pipeline to parallelize the installation tasks and call this pipeline from a user data script.
Configure an AWS OpsWorks cookbook that installs the framework instead of employing user data. Use this cookbook as a base for all deployments.