<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:27:31 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-3360] Clean up EBS Snapshots</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3360</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;There are 6172 orphaned EBS volume snapshots in us-east-1, some dating back to 2019. &lt;/p&gt;</description>
                <environment></environment>
        <key id="82274">FOLIO-3360</key>
            <summary>Clean up EBS Snapshots</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="5ced27478b03050f27825a93">Peter Murray</assignee>
                                                                <reporter accountid="5ced27478b03050f27825a93">Peter Murray</reporter>
                                    <labels>
                    </labels>
                <created>Wed, 8 Dec 2021 22:36:32 +0000</created>
                <updated>Mon, 10 Jan 2022 20:34:05 +0000</updated>
                            <resolved>Mon, 10 Jan 2022 20:34:05 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                                                            <comment id="196967" author="5ced27478b03050f27825a93" created="Wed, 8 Dec 2021 23:07:45 +0000"  >&lt;p&gt;Finding the orphaned snapshots (via &lt;a href=&quot;https://www.logicmonitor.com/blog/how-to-identify-orphaned-ebs-snapshots-to-optimize-aws-costs/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;How to Identify Orphaned EBS Snapshots to Optimize AWS Costs&lt;/a&gt;):&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-sh&quot;&gt;
comm -23 &amp;lt;(aws --profile folio-org ec2 describe-snapshots --owner-ids 732722833398 --query &lt;span class=&quot;code-quote-red&quot;&gt;&apos;Snapshots[*].SnapshotId&apos;&lt;/span&gt; --output text | tr &lt;span class=&quot;code-quote-red&quot;&gt;&apos;\t&apos;&lt;/span&gt; &lt;span class=&quot;code-quote-red&quot;&gt;&apos;\n&apos;&lt;/span&gt; | sort) &amp;lt;(aws --profile folio-org ec2 describe-volumes --query &lt;span class=&quot;code-quote-red&quot;&gt;&apos;Volumes[*].SnapshotId&apos;&lt;/span&gt; --output text | tr &lt;span class=&quot;code-quote-red&quot;&gt;&apos;\t&apos;&lt;/span&gt; &lt;span class=&quot;code-quote-red&quot;&gt;&apos;\n&apos;&lt;/span&gt; | sort | uniq) &amp;gt; orphaned-folio-ebs-snapshots.txt
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Getting details about the orphaned snapshots:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-sh&quot;&gt;
cat orphaned-folio-ebs-snapshots.txt | xargs -n 20 aws --profile folio-org ec2 describe-snapshots --query &lt;span class=&quot;code-quote-red&quot;&gt;&apos;Snapshots[*].[SnapshotId,StartTime,Description]&apos;&lt;/span&gt; --output text --snapshot-ids &amp;gt;  
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Deleting snapshots (note the &lt;tt&gt;ghead -n -40&lt;/tt&gt; gets all by the last 40):&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-sh&quot;&gt;
grep {identifying-string} orphaned-folio-ebs-snapshots-description.txt| sort -k 2 | ghead -n -40 | cut -f 1 | xargs -n 1 aws --profile folio-org ec2 delete-snapshot --snapshot-id
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="196970" author="5ced27478b03050f27825a93" created="Wed, 8 Dec 2021 23:49:05 +0000"  >&lt;p&gt;Deleted all but the last 40 snapshots for:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;wiki_data_SNAPSHOT&lt;/li&gt;
	&lt;li&gt;wiki_root_SNAPSHOT&lt;/li&gt;
	&lt;li&gt;issues_data_SNAPSHOT&lt;/li&gt;
	&lt;li&gt;issues_root_SNAPSHOT&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Deleted all snapshots for:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;discuss_root_SNAPSHOT&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Ask &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt; about deleting all but the last 40 of these:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;jenkins_root_SNAPSHOT&lt;/li&gt;
	&lt;li&gt;jenkins_home_SNAPSHOT&lt;/li&gt;
	&lt;li&gt;jenkins_nexus_SNAPSHOT&lt;/li&gt;
	&lt;li&gt;registry_SNAPSHOT&lt;/li&gt;
&lt;/ul&gt;
</comment>
                                                            <comment id="196973" author="5ced27478b03050f27825a93" created="Mon, 10 Jan 2022 20:33:45 +0000"  >&lt;p&gt;Old snapshots removed.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03srr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="288">DevOps Sprint 130</customfieldvalue>
    <customfieldvalue id="289">DevOps Sprint 131</customfieldvalue>
    <customfieldvalue id="286">DevOps Sprint 129</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>