In the scenario for this hands-on lab, you are the web admin for an online shopping site. The holidays are coming, so you anticipate holiday themed items becoming popular in your store. You plan to showcase these items on the homepage, in which a web app retrieves the photos for these items from an Azure Storage account. After the holiday season, you don’t want to keep these images, and the storage costs are too significant. You must find a way to automatically delete these photos after 30 days.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Upload the Photos to Blob Storage
- Download the photos to your computer from the following link: https://github.com/chadmcrowell/photos
- Upload the images to the container
holidaysale
in a folder namedimg
.
- Add a Policy to the `img` Folder
- Apply a policy that will automatically delete the
img
folder after30
days.
TIP: Look for Lifecycle Managment in the left menu of the storage resource manager screen, and keep in mind that individual menu items are often moved under new header titles, which may differ from the solution video.
- Apply a policy that will automatically delete the