#62 - The DevSecOps Perspective: Key Takeaways From Re:Invent 2023
AWS updates promise less manual work, from ECS encryption to sharing parameters across accounts.
17 min read
In this episode of DevSecOps Talks, Andrey and Mattias discuss the latest announcements from re:Invent 2023 that are most relevant to DevSecOps practitioners. Which announcements are worth paying attention to? What are the implications for the DevSecOps community? Join us as we dive into the latest developments from AWS.
Most of re:Invent doesn’t apply to you
AWS books most of Las Vegas for a week and spreads the sessions across venues you have to travel between. The announcement list runs longer than any one person can read, let alone evaluate. Plenty of events run a recap afterwards. We’ve tried it at our own meetup, and covering the whole thing isn’t really possible. The deck AWS handed its user group leaders this year runs to fifty slides, with five summary slides at the end.
So the useful question isn’t what was announced. It’s which announcements delete work you’re doing by hand right now, or a line item you’re already paying. That list is short, maybe fifteen percent of what’s on those slides: security first, then operations, then developer tools.
One filter worth stating up front. Public preview here means available, so you can go and use it rather than wait for GA. What that takes varies by feature. Some previews are narrower than the word suggests: the DynamoDB zero-ETL integration with Redshift is a limited preview in US East (Ohio), and you have to request access. And two of the most useful things here didn’t land at the conference at all. ECS Service Connect encryption arrived on 22 January 2024, Parameter Store cross-account sharing on 22 February 2024. A re:Invent list that stops at the keynote misses both.
GuardDuty and Inspector reach the things you actually run
Start with detection, because that’s where a team with no security budget gets the most back for the least configuration.
What does GuardDuty watch that it didn’t watch before?
Container runtime activity, including Fargate tasks, on top of the CloudTrail, VPC flow log and DNS query analysis it already did.
GuardDuty began as log analysis. ECS Runtime Monitoring, including AWS Fargate, launched on 26 November 2023 and watches file access, process execution and network connections from inside the task. EKS runtime coverage and database coverage came earlier in 2023, so the three pieces now line up, and the findings route into Detective alongside everything else it correlates.
Three practical notes before you enable it on Fargate, all from the launch post. The Fargate task is immutable, so running tasks have to be stopped and started again to pick up the agent, and a service needs a forced deployment. The task execution role, not the task role, needs permission to download the agent from a private ECR repository. And the agent takes a share of the task’s CPU and memory, so plan for it in your task sizing rather than discovering it in production. Check the result instead of assuming it worked. GuardDuty tracks a runtime coverage status per cluster, Healthy or Unhealthy with the reason beside it. An EventBridge event fires when that status flips.
Inspector went through the same shift earlier. Version one was agent-based, which meant installing and maintaining agents before you got a single finding. The rebuilt service scans EC2 and ECR continuously, and now agentless assessments for EC2 are in preview. Get the scan mode right. Hybrid mode uses the SSM agent wherever an instance has one. Where SSM isn’t installed or configured, it falls back to agentless: Inspector snapshots the EBS volume and builds a software inventory from that. Preview runs in N. Virginia, Oregon and Ireland.
Out of the box has a floor, though, and on Fargate it’s the notes above: restart the tasks, fix the execution role, size for the agent. Security Hub also got customization work, though it feels like not everyone is using it. In most cases you’d have a compliance posture management tool doing those checks already, or a SIEM, or something bigger.
Encryption in transit for ECS stopped being a project
Detection tells you something went wrong. The next group removes a class of work instead, starting with the one we’d waited longest for.
How do you encrypt traffic between ECS services now?
Point Service Connect at an AWS Private CA, and ECS issues, distributes and rotates the certificates itself.
This was genuinely awkward on ECS before. You either ran a mesh, or terminated TLS yourself in every service, or quietly left service-to-service traffic unencrypted inside the VPC and hoped nobody asked. The feature slipped past the conference and landed on 22 January 2024.
The design is worth reading before you plan it. ECS leans on short-lived certificates because revocation isn’t supported: maximum validity is seven days, and certificates rotate every five by default. Private CA is a paid service, so price it into the decision rather than discovering the charge on next month’s bill.
At the edge, Application Load Balancer added mutual TLS on 26 November 2023. Passthrough mode forwards the client certificate chain to your target in HTTP headers and leaves the decision to your application. Verify mode does the X.509 check during the handshake, against a trust store holding your CA bundle and, optionally, revocation lists. If you authenticate partners by client certificate, that’s code you can stop maintaining.
AWS Config and CloudWatch Logs: cheaper, with conditions
Operations announcements rarely sound exciting, and two of these aim at the bill. Both want something in exchange.
What does periodic recording change?
It lets AWS Config record a resource type once every 24 hours instead of on every change, and configuration items are what the bill is made of.
Config records the state of every supported resource and every change to it. That’s fine in a static account. In a dynamic one it accumulates: a Fargate service scales up and gets a new ENI, scales down, comes back on spot capacity, gets another.
Periodic recording arrived on 26 November 2023, with per-resource-type overrides through RecordingMode. The rates run against you: a periodic configuration item costs $0.012 against $0.003 for a continuous one. On a resource that outlives the window, that buys one item a day in place of one per change.
Short-lived resources break that arithmetic the other way. A resource created and deleted inside the same 24-hour window generates no configuration item at all. Continuous recording bills each churning ENI twice, once for the creation and once for the deletion, and daily recording drops them off the bill entirely.
So compare billable items rather than churn. AWS’s own cost guidance points at a CloudWatch dashboard of the types producing the most configuration items. Then ask what goes missing with them: the states between snapshots, and for anything that lived and died inside one window, any record that it existed. That last one is what an incident timeline needs, so where it matters, keep the type continuous and pay for it.
Compliance types such as AWS::Config::ResourceCompliance stay continuous regardless, and AWS Firewall Manager depends on continuous recording, so check for it before you change anything. If you manage Config in Terraform, the AWS provider added the recording_mode block in v5.38.0, released on 22 February 2024.
The Config console is a separate complaint. The redesign made the per-resource change history harder to get at, and that view was the main reason we opened Config by hand.
On the logging side, the Infrequent Access log class halves the ingestion price, with storage and query priced the same as Standard. You give up Live Tail, metric extraction, alarming and data protection, and the class is fixed when the log group is created. It fits the logs you keep because you might need them, not the ones you alarm on.
Identity and sharing: glue code you can delete
A pattern runs through the rest of the list. A service finally supports something directly, and the workaround you built because it didn’t can go.
How do you attach an IAM role to a pod without a per-cluster trust policy?
EKS Pod Identity, which associates a role with a Kubernetes service account through an agent add-on, using one trust policy that names the EKS service principal.
IAM roles for service accounts shipped in 2019 and works. The friction is in the trust policy, which names the cluster’s OIDC provider. A role can serve several clusters, but only by adding an entry for each one. That runs into the policy size limit, which pushes teams into duplicating roles instead. Pod Identity is the second iteration. You create a role that trusts the EKS pod identity service principal, install the agent add-on, and associate the role with a service account. AWS says the same role can then be reused across service accounts, namespaces and clusters in an account, with no trust policy edit each time. It’s close to what instance profiles do for EC2, which is the mental model most people reach for anyway. AWS is explicit that Pod Identity coexists with IRSA rather than retiring it, and IRSA stays the answer outside EKS in the cloud.
Two more in the same shape. Kinesis Data Streams got resource policies on 22 November 2023, set through PutResourcePolicy, so a Lambda function in another account can consume the stream directly. The old answer was a forwarding Lambda that assumed a role in the stream’s account, infrastructure you owned, monitored and paged on. Remember the policy is only half the grant: the consuming account still needs an identity-based policy.
Parameter Store cross-account sharing landed on 22 February 2024 through AWS Resource Access Manager. Advanced tier only, consumers call get-parameter with the full ARN, and describe-parameters --shared lists what they’ve been given. A SecureString has one more prerequisite: it must be encrypted with a customer managed KMS key that you share separately, because AWS managed keys can’t be shared. Keeping the same parameters in step across accounts was a pain in the back before this, and now the other account reads the parameter where it lives.
Governance you can call from an API
The same pattern repeats one level up, where the unit is the organization rather than the workload.
What can you script at the organization level now?
Landing zone setup in Control Tower, fault injection across accounts, and CloudFormation stacks that follow a Git branch.
Control Tower was heavily opinionated at the start, with little you could configure and plenty you couldn’t opt out of. It has been opening up for a while, and landing zone APIs now cover discovering, creating, updating and resetting a landing zone without the console. If you provision a baseline across many accounts, that’s the difference between a runbook and a pipeline.
Multi-account experiments for AWS Fault Injection Service arrived on 27 November 2023. An orchestrator account runs the experiment, target accounts hold the resources, and IAM roles plus resource tags scope the blast radius. Your application already spans accounts, so your disaster recovery test should too, and the first one takes enough thought that it’s worth starting before an audit asks.
CloudFormation Git sync, from 26 November 2023, syncs a stack from a template in GitHub, GitLab or Bitbucket. Parameters and tags live in a YAML deployment file, so changes to them show up in history too. One stack can follow a staging branch while another follows production. It makes CloudFormation meaningfully more useful. The limitations that sent you to Terraform in the first place haven’t moved.
Faster storage and fewer pipelines
Storage announcements usually read like phone specs, faster chip and more megapixels. One of them is a real architectural choice.
Why would you pick a bucket that lives in one availability zone?
Because for a working set you can rebuild, the latency and request-rate gain is worth the redundancy you give up.
S3 Express One Zone shipped on 28 November 2023 as a new bucket type, the directory bucket, pinned to a single availability zone so you can co-locate it with compute. AWS’s own launch numbers were up to 10x faster data access and 50% lower request costs than S3 Standard. The use case driving it is analytics: if Athena or Redshift Serverless grinding through objects in S3 is your bottleneck, this is aimed at you. If it isn’t, the general purpose bucket stays the right default, and you shouldn’t take the availability tradeoff for nothing.
The Mountpoint for Amazon S3 CSI driver went GA on 27 November 2023, installable as an EKS add-on, and mounts a bucket as a volume your containers can read. AWS aimed it at distributed machine learning training, and at launch it covered sequential and random reads plus sequential writes of new files. That’s not a POSIX filesystem, so an idea like backing an Elasticsearch cold data node with it is an experiment worth running rather than a plan worth committing to.
On the data side, AWS announced four zero-ETL integrations, and they didn’t all ship at the same maturity. Aurora PostgreSQL, DynamoDB and RDS for MySQL into Redshift went to preview. The DynamoDB integration with OpenSearch Service is generally available. Aurora Limitless Database also entered preview, and it’s easy to mistake for vertical scaling because that’s how it behaves from the application side.
You don’t have to remember five query languages
Generative AI was on every slide. Two of those announcements are ops features rather than demos.
Do you still need to learn the query language?
You need to read it, because what these features hand back is a query you review and run.
CloudWatch natural language query generation went to preview on 26 November 2023 for Logs Insights and Metrics Insights. It writes a query from a question, explains an existing query line by line, and refines one from follow-up instructions. Preview covered N. Virginia and Oregon.
AWS Config got the same treatment, running on Bedrock. Ask for all non-compliant S3 buckets in your organization and it produces the advanced-query SQL, which you can run as-is or edit. Two regions, no additional charge.
Here’s why this is the useful shape for generative AI in operations. Between Logs Insights, OpenSearch, Grafana, PromQL and Config’s SQL dialect, we can’t keep all five syntaxes in our heads. That gap costs a documentation detour every time an incident needs an unusual query. The output is a query, so you can read it before you run it, and you stay the one deciding whether it asks the right question.
Assign the issue to Amazon Q, then review its pull request
The announcement we think got the least attention is the one that changes the shape of the work. It landed in CodeCatalyst, AWS’s own answer to GitHub.
What does assigning an issue to Amazon Q actually do?
Q drafts an approach, opens a pull request against your repository, and you review it like any other contribution.
The feature development capability of Amazon Q in CodeCatalyst went to preview in November 2023. Assign an issue, and it produces a plan and then a pull request, watches the related workflows, and attempts to fix what breaks. You can leave comments and get a revision. It’s preview, in Oregon, and worth watching the demo before forming an opinion.
Take “I want to add a linter to my CI” as the example. You check the documentation, run a couple of trials to see whether it works, nobody notices the result, and it still has to be done. Getting a pull request to react to is a better starting position than an empty file.
CodeCatalyst had a positioning problem before this. You could do pull requests and CI there, same as GitHub, and it was hard to say what you got in exchange for moving. Now there’s an answer, even if it’s an early one, and the reaction to Amazon Q elsewhere in the console and documentation has been mixed.
Two things follow for your source code. CodeWhisperer customizations let you tune suggestions on your own repositories, and AWS states that those customizations aren’t used to train the underlying foundation model. That’s a statement you’re trusting, not one you can verify. The second is simpler. A model trained hard on AWS APIs and SDKs should write better AWS code than a general one. That matters when most of what you write is integration against those APIs.
What this means for teams
The cadence is the real lesson. AWS ships continuously, a lot of what shipped here came from customer requests, and the gap between a feature existing and you using it is usually just attention. Thirty or forty minutes a day on what’s new, with one thing tried for real, is time worth spending. The alternative is maintaining workarounds for problems that were solved last quarter.
Four things to do this week:
- Enable GuardDuty ECS Runtime Monitoring in one non-production account. Size the agent into your Fargate task definitions and force a new deployment, because tasks already running stay unmonitored until they’re replaced. Then check the cluster’s runtime coverage status to confirm the agent reports Healthy.
- Count the configuration items AWS Config records per resource type, then price the bill both ways. Daily recording costs four times as much per item, so on a long-lived type it pays only above four changes a day. Types whose resources appear and disappear within the day, Fargate ENIs among them, bill nothing at all under daily recording. Start there, and accept that you keep no record those resources existed. Check whether Firewall Manager is in play first.
- If you run ECS and have been avoiding encryption in transit, price AWS Private CA and wire one service pair through Service Connect TLS.
- If you run EKS, move one workload from IRSA to Pod Identity, so you learn the failure modes on something you chose rather than something urgent.
Common questions, answered
How do I cut an AWS Config bill driven by short-lived Fargate tasks?
Switch the churning resource types, ENIs above all, to daily periodic recording. A resource created and deleted inside the same 24-hour window generates no configuration item at all, so they drop off the bill entirely. Where resources persist, do the arithmetic first. A periodic configuration item costs $0.012 against $0.003 for a continuous one, so daily recording only pays above four changes a day.
Set RecordingMode per resource type, and price in what you stop keeping: the states between snapshots, and any record a short-lived resource existed. Compliance types such as AWS::Config::ResourceCompliance stay continuous, and AWS Firewall Manager needs it too, so check first.
How do I share an SSM parameter with another AWS account?
Put the parameter in the advanced tier and share it through AWS Resource Access Manager, which Parameter Store has supported since 22 February 2024. You pick the parameters, the recipients (an account, an organizational unit or your whole organization) and the permissions.
With sharing enabled in AWS Organizations, you grant consumers inside your organization access directly; everyone else gets an invitation to the resource share and has access once they accept. A SecureString needs a customer managed KMS key, shared separately, because AWS managed keys can’t be shared. Consumers then call get-parameter with the full parameter ARN as the name.
Can I mount an S3 bucket into a Kubernetes pod?
Yes, with the Mountpoint for Amazon S3 CSI driver, generally available since 27 November 2023 and installable as an EKS add-on. It presents a bucket as a volume that containers in EKS or self-managed Kubernetes clusters can mount.
Check your access pattern first. At launch it supported sequential and random reads of existing files, plus sequential writes of new ones. That fits read-heavy workloads such as training data, and rules out anything that expects full POSIX semantics.
Related episodes
- #11 AWS Security Maturity Roadmap: where baseline services like GuardDuty sit in a security plan, and what to fix before you buy anything.
- #23 How Do We Run Kubernetes In The Cloud?: the pod credentials problem that EKS Pod Identity takes another run at.
- #59 Migration Off The Cloud: To Leave or Not to Leave?: the cost conversation that AWS Config and CloudWatch Logs line items belong to.
- #60 ChatGPT Anniversary: Where Are We With AI In Our Everyday Work: where generative AI stood in our daily work, recorded after these previews launched.
- #61 GitHub Actions And Evolution Of CI/CD Tools: the CI platform CodeCatalyst is measured against.
Resources
- Introducing Amazon GuardDuty ECS Runtime Monitoring, including AWS Fargate: the launch date, regional coverage and Organizations support.
- Using Amazon GuardDuty ECS Runtime Monitoring with Fargate and Amazon EC2: how to enable it per cluster and how to be told when coverage turns unhealthy.
- Amazon Inspector agentless vulnerability assessments for EC2 in preview: how hybrid and agentless scan modes differ and where the preview runs.
- How to record resource configuration changes periodically with AWS Config: the rule that decides most Config bills: a resource created and deleted inside one window produces no configuration item. AWS Config pricing has the per-item rates for the resources that do persist.
- New CloudWatch log class for infrequent access logs: the price difference and the features Infrequent Access leaves out.
- Amazon ECS launches automatic traffic encryption with TLS for Service Connect: the Private CA integration, announced after the conference.
- Encrypt Amazon ECS Service Connect traffic: certificate validity, rotation interval and why revocation isn’t offered.
- Amazon EKS Pod Identity: a new way for applications on EKS to obtain IAM credentials: role reuse across clusters, and why it coexists with IRSA.
Since we recorded
CodeWhisperer stopped existing under that name: on 30 April 2024 it became part of Amazon Q Developer, carrying the customization capability with it. Inspector’s agentless scanning for EC2 left preview in April 2024: hybrid mode became the default for accounts that enable EC2 scanning afterwards, an opt-in for the rest. CodeCatalyst didn’t hold: AWS closed it to new customers on 7 November 2025, so that workflow is open only to teams already on it. For where AWS security and operations announcements landed two years on, see #93 The DevSecOps Perspective: Key Takeaways From Re:Invent 2025.
