Microsoft Posted September 22, 2020 Share Posted September 22, 2020 With tiered-storage Artifacts billing, paying attention to your artifacts usage obviously… pays off (lame joke). Here are some tips and tricks around artifacts storage, to optimize and ultimately reduce your monthly costs. With the upcoming billing experience changes, you will only be charged for packages. Pairing that with our upcoming storage breakdown feature, this blog post will focus on optimizing and reducing your packages specifically. Leveraging automatic retention policies We strongly recommend using feed-level retention policies to automatically retain and delete packages. Our retention system will optimize package deletion for the best performance possible. So your feed will continue to operate at full speed, even while processing thousands of delete operations. If there’s one takeaway from this post, it’s to make sure you’ve enabled this on all your feeds! Sending packages to the bin Don’t need a particular feed anymore? Delete it by going to Feed Settings. Or try taking a look at package stats… if it’s not relevant any further, delete the package version! Deleting from recycling bin When you delete either a feed or a package (with the above instructions), it will be moved into your recycling bin. At that point they’ll be marked for hard deletion after 30 days. This gives you flexibility in case you realize that certain package versions or feeds have active dependencies and can’t be deleted! However, these packages remain part of your billable costs. If you don’t want to wait the full 30 days, you can navigate to the recycling bin, and delete them individually. We’re working on additional helpful tutorials on hard deletion of packages, so stay tuned. Programatic deletions To delete your feeds, you can use our Feed Management APIs To send your packages to the recycling bin (soft delete), you can use our protocol-specific packages APIs Setting cost limits There are upcoming changes around the in-product usage limits for Artifacts. If you want to stick to the free plan, make sure you’re set to the “Up to 2 GiB free” tier within the Organization Settings ==> Billing page. Another tip here is to leverage the cost and billing management features within Azure Portal. We have Azure DevOps documentation on how to pinpoint specific charges, so take a peek. Start cleaning up your storage Hopefully, some of these tips prove helpful in reducing or optimizing your Azure Artifacts storage, starting with packages. Give it a try, and let us know how it goes. Heads up that the deletion for artifacts is processed daily, so you may see a delay in storage size changes. Please be patient, and do reach out to us if there are any issues! If you have any suggestions, comments, or run into issues, just post a comment below and we’ll get back to you ASAP. The post Optimizing package storage (and costs!) appeared first on Azure DevOps Blog. View the full article Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.