<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Armory Docs – AWS Event Cache Plugin for Spinnaker</title><link>/plugins/aws-event-cache/</link><description>Recent content in AWS Event Cache Plugin for Spinnaker on Armory Docs</description><generator>Hugo -- gohugo.io</generator><atom:link href="/plugins/aws-event-cache/index.xml" rel="self" type="application/rss+xml"/><item><title>Plugins: Overview</title><link>/plugins/aws-event-cache/overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/plugins/aws-event-cache/overview/</guid><description>
&lt;h2 id="aws-event-cache-features">AWS Event Cache features&lt;/h2>
&lt;p>The AWS Event Cache Plugin provides the following features:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Manual cache refresh within Spinnaker&lt;/strong>
&lt;ul>
&lt;li>Enables fetching the latest data from AWS providers&lt;/li>
&lt;li>Useful in scenarios where you&amp;rsquo;ve reached rate limits and need real-time data&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>Dynamic polling interval adjustment for data retrieval from AWS providers&lt;/strong>
&lt;ul>
&lt;li>Provides flexibility in managing the frequency of API calls, helping to mitigate rate limit issues&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>Seamless integration with AWS SNS&lt;/strong> for event-driven communication
&lt;ul>
&lt;li>The plugin receives notifications from SNS whenever a change is made, ensuring timely responses to rate limit issues.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>An event scheduler&lt;/strong>
&lt;ul>
&lt;li>Coordinates with the notification handling service&lt;/li>
&lt;li>Designed to be invoked by AWS SNS, ensuring efficient processing of events related to rate limit changes&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>Different configurations for non-production environments&lt;/strong>
&lt;ul>
&lt;li>You can set a longer polling interval in non-production environments to reduce the frequency of API calls without compromising overall functionality.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;p>The plugin uses &lt;a href="https://docs.aws.amazon.com/config/latest/developerguide/notifications-for-AWS-Config.html">AWS Config&lt;/a> to send events to Spinnaker through a new endpoint in the Gate service.&lt;/p>
&lt;h2 id="how-the-plugin-works">How the plugin works&lt;/h2>
&lt;p>&lt;strong>AWS SNS Integration&lt;/strong>&lt;/p>
&lt;p>The plugin seamlessly integrates with AWS SNS to establish a reliable communication channel. AWS SNS is configured to send notifications whenever a change is detected in the AWS environment, such as rate limit adjustments or IAM role modifications.&lt;/p>
&lt;p>&lt;strong>Event Scheduler Initialization&lt;/strong>&lt;/p>
&lt;p>Upon receiving a notification from AWS SNS, the plugin&amp;rsquo;s event scheduler is initialized. This scheduler acts as the orchestrator, coordinating the subsequent actions to manage rate limit issues.
Event Handling Workflow:&lt;/p>
&lt;p>The Event Scheduler triggers an event handling workflow that consists of the following steps:&lt;/p>
&lt;ol>
&lt;li>Event Validation: The plugin validates the incoming event, ensuring it is legitimate and corresponds to a relevant change in the AWS environment.&lt;/li>
&lt;li>Decision Logic: The plugin determines the appropriate action to take based on the type of event, such as rate limit increase or IAM role modification.&lt;/li>
&lt;/ol>
&lt;figure>
&lt;img src="/plugins/aws-event-cache/overview/architecture.png"/>
&lt;/figure>
&lt;h2 id="compatibility-matrix">Compatibility matrix&lt;/h2>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th style="text-align:left">Armory CD Version&lt;/th>
&lt;th style="text-align:left">Spinnaker Version&lt;/th>
&lt;th style="text-align:left">AWS Event Cache Plugin Version&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td style="text-align:left">2.31.x&lt;/td>
&lt;td style="text-align:left">1.31.x&lt;/td>
&lt;td style="text-align:left">0.2.1&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">2.30.x&lt;/td>
&lt;td style="text-align:left">1.29.x, 1.30.x&lt;/td>
&lt;td style="text-align:left">0.2.1&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">2.28.x&lt;/td>
&lt;td style="text-align:left">1.28.x&lt;/td>
&lt;td style="text-align:left">0.2.1&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h2 id="installation-paths">Installation paths&lt;/h2>
&lt;div class="td-card-group card-group p-0 mb-4">
&lt;div class="td-card card border me-4">
&lt;div class="card-header">
Armory CD&lt;br>Armory Operator
&lt;/div>
&lt;div class="card-body">
&lt;p class="card-text">
&lt;p>Use a Kustomize patch to install the plugin.&lt;/p>
&lt;ol>
&lt;li>Install the plugin.&lt;/li>
&lt;li>Create your AWS Simple Notification Service topic and subscription.&lt;/li>
&lt;/ol>
&lt;p>&lt;a href="/plugins/aws-event-cache/install/armory-cd/">Instructions&lt;/a>&lt;/p>
&lt;/p>
&lt;/div>
&lt;/div>
&lt;div class="td-card card border me-4">
&lt;div class="card-header">
Spinnaker&lt;br>Spinnaker Operator
&lt;/div>
&lt;div class="card-body">
&lt;p class="card-text">
&lt;p>Use a Kustomize patch to install the plugin.&lt;/p>
&lt;ol>
&lt;li>Install the plugin.&lt;/li>
&lt;li>Create your AWS Simple Notification Service topic and subscription.&lt;/li>
&lt;/ol>
&lt;p>&lt;a href="/plugins/aws-event-cache/install/spinnaker-operator/">Instructions&lt;/a>&lt;/p>
&lt;/p>
&lt;/div>
&lt;/div>
&lt;div class="td-card card border me-4">
&lt;div class="card-header">
Spinnaker&lt;br>Halyard
&lt;/div>
&lt;div class="card-body">
&lt;p class="card-text">
&lt;p>Use Spinnaker local config files to install the plugin.&lt;/p>
&lt;ol>
&lt;li>Install the plugin.&lt;/li>
&lt;li>Create your AWS Simple Notification Service topic and subscription.&lt;/li>
&lt;/ol>
&lt;p>&lt;a href="/plugins/aws-event-cache/install/spinnaker-halyard/">Instructions&lt;/a>&lt;/p>
&lt;/p>
&lt;/div>
&lt;/div>
&lt;/div></description></item><item><title>Plugins: Get Started with the AWS Event Cache Plugin</title><link>/plugins/aws-event-cache/install/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/plugins/aws-event-cache/install/</guid><description/></item><item><title>Plugins: AWS Event Cache Plugin Release Notes</title><link>/plugins/aws-event-cache/release-notes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/plugins/aws-event-cache/release-notes/</guid><description>
&lt;h2 id="v021-20231128">v0.2.1 2023/11/28&lt;/h2>
&lt;h3 id="fixed">Fixed&lt;/h3>
&lt;ul>
&lt;li>Resolved bug relative to retrofit dependency on unhandled messages for JSON responses causing internal exceptions.&lt;/li>
&lt;/ul>
&lt;h2 id="v010-20221130">v0.1.0 2022/11/30&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>Excluded AWS notify endpoint Spinnaker crash when plugin is configured but provider is not.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Removes unnecessary code related with AWSCredentialsProvider&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Changed using WebSecurity instead of HttpSecurity&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h3 id="features">Features&lt;/h3>
&lt;ul>
&lt;li>Initial release&lt;/li>
&lt;/ul>
&lt;h2 id="known-issues">Known issues&lt;/h2>
&lt;ul>
&lt;li>If provider infra is not correctly configured, and SNS topic confirmed, the Gate endpoint does not receive messages.&lt;/li>
&lt;/ul></description></item></channel></rss>