5.1 Apply updates to any apps running in Lightsail (Manual)
Description
Amazon Lightsail is a virtual private server (VPS) provider and is the easiest way to get started with AWS for developers, small businesses, students, and other users who need a solution to build and host their applications on cloud.
Rationale
Lightsail offers a range of operating system and application templates that are automatically installed when you create a new Lightsail instance. Application templates include WordPress, Drupal, Joomla!, Ghost, Magento, Redmine, LAMP, Nginx (LEMP), MEAN, Node.js, Django, and more. You can install additional software on your instances by using the in-browser SSH or your own SSH client.
Impact
N/A
Audit Procedure
Using AWS Console
To confirm that you are running the latest version of the application you are using is a manual process. Often dependent on the application itself and the operating system you are utilizing for the Lightsail instance.
- Login to AWS Console using https://console.aws.amazon.com
- Click
All services, clickLightsailunder Compute. - This will open up the Lightsail console.
- Select the
Instanceyou want to review. - Make sure the instance status is
running. - Connect to the
instance. - Depending on the instance OS and the application you are running determine what version it is and if there are any updates.
- If there are updates refer to the remediation below.
- Repeat steps no. 4 - 8 to verify if any Lightsail instances require application updates.
Using AWS CLI
N/A - This is a manual process dependent on the application and OS.
Expected Result
All applications running on Lightsail instances should be running the latest stable version with all security patches applied.
Remediation
Using AWS Console
- Login to AWS Console using https://console.aws.amazon.com
- Click
All services, clickLightsailunder Compute. - This will open up the Lightsail console.
- Select the
Instanceyou want to update. - Make sure the instance status is
running. - Click on
Snapshots - Under
Manual snapshotsclick on+ Create snapshot - Give it a name you will recognize
- Click on
create
While in process it will show 'Snapshotting...'
- Once the date and time and snapshot name appears it is completed.
- Click on
Connect - Run the updates for the application discovered above in the Audit.
- Repeat steps no. 4 - 12 to apply any application updates required on the Lightsail instances that you are running.
Using AWS CLI
N/A - This is a manual process dependent on the application and OS.
Default Value
Applications are installed with the version available at instance creation time. Updates are not applied automatically.
References
- https://lightsail.aws.amazon.com/ls/docs/en_us/overview
- https://aws.amazon.com/lightsail/features/?opdp2=features/?pg=ln&sec=hs
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 7.4 Perform Automated Application Patch Management - Perform application updates on enterprise assets through automated patch management on a monthly, or more frequent, basis. | x | x | x |
| v7 | 3.5 Deploy Automated Software Patch Management Tools - Deploy automated software update tools in order to ensure that third-party software on all systems is running the most recent security updates provided by the software vendor. | x | x | x |
Profile
Level 1 | Manual