Cloudanix Joins AWS MSP Recommended Toolkit, Unlocking Up to $50,000 for MSPs

Cloudanix – Your Partner in Cloud Security Excellence

A Practical Step by Step Guide To Prevent Security Breach Of Your AWS Account

  • Sujay Maheshwari Sujay Maheshwari
  • Saturday, Jul 11, 2020

Amazon Rainforests, the world’s largest rainforest, is crisscrossed with several rivers, inhabits over a thousand types of flora and fauna. It is so densely populated with greenery that only the person knowing the exact right path can find it once something goes inside. In other words, it is secure. Probably Amazon Web Services got inspired by its namesake while building its robust security schemes. Let us dive into the several methods you can incorporate in your AWS working to stay safe from security breaches!

Let’s start with the AWS IAM service

Create a strong password for your AWS resources and MFA

To help ensure that you protect your AWS resources, always set a strong password with a combination of letters, numbers, and special characters. Include Multi-Factor Authentication. It is a security capability that provides an additional layer of authentication on top of your user name and password.

As of 2026 — MFA is no longer optional for the root user. AWS now requires MFA for the root user of every account type (standalone, management and member accounts), and you must register it within 14 days of your first console sign-in attempt. See AWS’s guidance. Prefer phishing-resistant options such as passkeys and FIDO2 security keys over SMS or app codes, register more than one MFA device, and use the root user only for the few tasks that require it. Our walkthrough on setting up MFA devices in AWS covers the steps.

Use a group email alias with your AWS account

In case you are unavailable to manage your AWS Cloud workloads, using a group email alias with your AWS account lets other trusted members of your organization manage the account in your absence.

Set up AWS IAM users and roles for daily account access

Use AWS Identity and Access Management (IAM) to create users, groups, and roles to manage and control access and permissions to your AWS resources. When you make an IAM user, group, or role, ensure it can access only to the AWS resources to which you explicitly permit it. If you are the account owner, it is recommended that you create an IAM user for yourself for the daily use of your resources.

As of 2026 — AWS’s current best practice is to avoid long-lived IAM users for people. Use IAM Identity Center (the successor to AWS SSO) with your identity provider so people sign in with temporary credentials and assume roles. Reserve IAM users for the rare cases that cannot use roles. See IAM best practices and what is IAM Identity Center. In a multi-account setup, add AWS Organizations guardrails such as service control policies, and use IAM Access Analyzer to find unused and externally shared access. See managing IAM Identity Center permissions at scale.

Delete your account’s access keys

You can grant access to your AWS resources from the command line or for use along with AWS APIs. However, it is recommended that you do not create or use the access keys connected to your root account for programmatic access. Delete all access keys. The strongest version of this is zero standing privilege backed by just-in-time access, so no long-lived keys sit around to be stolen. Create an IAM user and grant that user only the permissions needed for the APIs you plan to call. You can then use that IAM user to issue access keys.

As of 2026 — The advice to “create an IAM user and issue access keys” is now the fallback, not the recommendation. Prefer roles and short-lived credentials (via IAM Identity Center, STS or instance and workload roles), and use OIDC federation for CI/CD systems instead of storing keys. If you must use access keys, scope them tightly, rotate them and monitor their use. See our guide to short-lived service credentials and what is zero standing privilege.

Enable CloudTrail in all AWS regions

You can track all activity in your AWS resources by using AWS CloudTrail. In case you initially do not know how to use CloudTrail, AWS Support, and your AWS solutions, you can troubleshoot a security or configuration issue.

As of 2026 — This paragraph is hard to follow, so here is the practical version. CloudTrail Event History is on by default and shows the last 90 days of management events in each Region. To keep logs longer, log data events (such as S3 object access), or send them to your SIEM, create a trail. A multi-Region trail, or an organization trail in a multi-account setup, delivering to a locked-down S3 bucket with log file validation is the baseline. See the CloudTrail user guide and our posts on CloudTrail best practices and all you need to know about CloudTrail.

AWS S3 and EC2 are the most used services

Here are security measures that can be adopted specifically for these

Amazon S3 security guide

Simple Storage Service (S3) is one of the most popular AWS services and provides a scalable solution for objects storage through web APIs. S3 buckets can be used for many different usages and in many different cases.

Here are some ways to protect your AWS S3 buckets

  • Writing AWS User policies that specify the users that can access specific buckets and objects
  • Writing bucket policies that define access to specific buckets and objects.
  • Using the Amazon S3 Block Public-Access as a centralized way to limit public access. Block Public Access settings override bucket policies and object permissions. Be sure to enable Block Public Access for all accounts and buckets that you don’t want publicly accessible.
  • Set access control lists (ACLs) on your buckets and objects.
  • Be sure to review ACL permissions that allow Amazon S3 actions on a bucket or an object.
  • Be strict about who gets Read and Write access to your buckets.
  • Set up MFA-protected API access, which needs that users authenticate with an AWS MFA device before they call certain Amazon S3 API operations.
  • If you temporarily share an S3 object with another user, create a pre-signed URL to grant time-limited access to the object.
  • Enable Amazon S3 access logging. Use AWS Config to monitor bucket ACLs and bucket policies for any violations that allow the public to read or write access.

As of 2026 — S3 defaults have changed since this was written.

  • Since April 2023, new buckets have Block Public Access turned on and ACLs disabled (the “bucket owner enforced” Object Ownership setting). Bullets above about setting and reviewing ACLs describe the legacy model, and AWS now recommends managing access with IAM and bucket policies instead. Only enable ACLs where an application truly needs them.
  • Add a bucket policy condition that denies requests where aws:SecureTransport is false, so only HTTPS is accepted.
  • Use CloudTrail data events for object-level audit trails, and S3 server access logs for request logs.
  • See security best practices for Amazon S3, Block Public Access and Object Ownership, plus our guides to building a secure S3 bucket and S3 misconfigurations.

Finally, use encryption to protect your data. If the use case requires encryption during transmission, Amazon S3 supports the HTTPS protocol, which encrypts data in transit to and from Amazon S3. All AWS tools and SDKs use HTTPS by default. If your use case requires encryption for data at rest, Amazon S3 offers server-side encryption (SSE). The SSE options include SSE-S3, SSE-KMS, or SSE-C. You can specify the SSE parameters when you write objects to the bucket. There are other default encryption options on your bucket with SSE-S3 or SSE-KMS, which you can add to your system.

As of 2026 — Encryption at rest is now on by default. Since 5 January 2023, every new object uploaded to Amazon S3 is encrypted with SSE-S3 at no extra cost (see AWS’s announcement). Choose SSE-KMS with a customer-managed key when you need key-level audit, rotation and access control. AWS has also started disabling SSE-C by default on new general purpose buckets.

Amazon EC2 security guide

Elastic Compute Cloud (EC2) is another widely used service by Amazon. It allows us to rent virtual computers that can be used to run any arbitrary applications. AWS EC2 provides a scalable solution to rent and use a new computer, and manage its status via a web-based user interface. The user can manage every aspect of an EC2 instance from the creation and execution of the definition of access policies. It’s undeniable that AWS EC2 constitutes a powerful tool that will inevitably result in a security breach if not correctly configured and protected.

Few of the security measures in EC2 are

  • Use multi-factor authentication (MFA) with each account.
  • Use TLS to communicate with AWS resources.
  • Set up API and user activity logging with AWS CloudTrail.
  • Use AWS encryption solutions, along with all default security controls within AWS services.
  • Ensure no backend EC2 instances are running in public subnets.
  • Use advanced managed security services such as Amazon Macie, which assists in discovering and securing personal data stored in Amazon S3.
  • Ensure no EC2 security group allows unrestricted inbound access to TCP ports 20 and 21 (File Transfer Protocol).
  • Ensure no AWS EC2 security group allows unrestricted inbound access to TCP and UDP port 53 (DNS).

As of 2026 — The two port checks above are real but narrow. The riskiest unrestricted inbound rules are SSH (22), RDP (3389) and database ports, so check those first. Better still, avoid inbound admin access altogether with Systems Manager Session Manager or an EC2 Instance Connect Endpoint. Other current EC2 baselines: require IMDSv2 for the instance metadata service (see AWS’s guide), turn on EBS encryption by default, and review IPv6 rules too. EC2-Classic was retired in August 2022, so everything now runs in a VPC. Amazon Macie today is the 2020-relaunched service with managed data identifiers, covered in various tools from AWS which help you with compliance.

AWS provides a robust security system for your enterprise. These were some additional measures you can take from your side to ensure no data leakage of security breach affects your company. Doing this continuously rather than once is where cloud security posture management (CSPM) earns its keep, and many teams get there by moving off AWS Trusted Advisor and open-source scanners to continuous CSPM. It also scales cleanly to organizations securing multi-account AWS without a landing zone or Control Tower. I hope this helps you and your enterprise!

How Can Cloudanix Help?

Cloudanix provides 1 click setup to perform continuous compliance checks and real-time monitoring of more than 500 rules and checks to help you stay secure and worry-free. We offer a very generous free trial which you can see for yourself how easy it is to stay secure and protect your customer’s data.

As of 2026: What has changed

  • Root MFA is enforced for all account types. Use phishing-resistant MFA.
  • People should use IAM Identity Center and roles with temporary credentials. Keep IAM users and access keys to a minimum.
  • S3 is secure by default: Block Public Access on, ACLs off and SSE-S3 encryption for new buckets and objects.
  • Detection services: turn on GuardDuty, IAM Access Analyzer, AWS Config and Security Hub. In December 2025 AWS made a new AWS Security Hub generally available, and the original product is now called Security Hub CSPM. See what is Security Hub.
  • Continuous checks: see AWS CSPM implementation guide and AWS Trusted Advisor vs a dedicated CSPM.

People Also Read

What Our Users Are Saying

Customer Reviews

Cloudanix is trusted by security leaders worldwide to deliver proactive, reliable, and cutting-edge cloud security.

One day, I changed the password of a root account, and my CTO called me within less than a minute to confirm if I did so. I was not expecting a reaction this quick. He told me Cloudanix alerted him of this password change and that he wanted to confirm as it was a critical security notification. I couldn't believe it!

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Compliance is one way of staying secure, but what I want is the ability to go deeper and attain 'true security.' Cloudanix provides us the capability to do so.

Vishal Madan
Vishal Madan
Head of Engineering, iMocha

Cloudanix is building for the future of the cloud, which makes the product all the more desirable.

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Cloudanix gave us the visibility we were missing. Being able to move from permanent access to a robust Just-In-Time (JIT) workflow has fundamentally changed our security posture without slowing down our engineering velocity.

Pavan Kumar Lekkala
Pavan Kumar Lekkala
SRE Lead, HugoHub

We are excited to leverage Cloudanix's comprehensive multi-cloud DevSecOps solution to secure our production workloads on AWS. Cloudanix has demonstrated that it can solve many challenges that DevSecOps teams face while continually adding new features such as SOC2 compliance and drift detection.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Managing third-party partner access was once a major concern for our security posture. With Cloudanix JIT Cloud, we've effectively achieved zero third-party risk. We can now grant access confidently, knowing that it is temporary, audited, and automatically revoked, resulting in a 100% reduction in our privileged access exposure.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

The snooze feature and responsible alerts have helped us save time and prioritize what to tackle first.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Implementing Cloudanix JIT internally allowed us to practice what we preach. By eliminating permanent access to our own clouds and databases, we've neutralized the risk of standing privileges, ensuring our own 'keys to the kingdom' are never left exposed.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

The problem with permissions is a lot of times, the gaps are left open due to oversights from inside the organization itself. With Cloudanix's CIEM, we get a complete view of user permissions and access. This enables us to update the permissions, reducing the attack surface.

Nilesh Pethani
Nilesh Pethani
Application Architect, iMocha

In the world of Fintech, trust is our currency. Cloudanix provided the frictionless visibility we needed to secure our EKS workloads across AWS, ensuring we stay audit-ready for SOC2 and GDPR without slowing down our engineering velocity.

Amol Naik
Amol Naik
Head of Security & Infrastructure, HugoHub

Cloudanix delivered value within 5 minutes of onboarding. Continuous monitoring, timely detection, and excellent documentation helped us attain a great cloud security posture.

Divyanshu Shukla
Senior DevSecOps, Meesho

Technology strategies and business strategies are in a state of constant change which includes centralization and decentralization of responsibilities. Regardless of strategic shift, we still have intellectual property to protect. Cloudanix are critical partners for us in our public cloud security posture across our three cloud providers.

Jerry Locke
Jerry Locke
Senior Director Global Solutions Engineering, Eversana

Cloudanix has been amazing. They opened up a common Slack channel with us — and it feels like we are talking to our own team and getting things done with Cloud security. The support team is always available, friendly, helpful, and ready to go out of their way.

Satish Mohan
Satish Mohan
CTO, Airgap Networks

Beyond just access management, Cloudanix CSPM has given us a unified view of our AWS environment. The real-time alerting and anomaly detection allow us to prevent any untoward activity before it happens, which is critical for a marketplace connecting 50+ financial institutions.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

For a Fintech company, data is our most valuable — and most sensitive — asset. Cloudanix DAM hasn't just improved our visibility; it has given us control. The ability to mask data and prevent unauthorized queries in real-time is a game-changer for our compliance and customer trust.

Jiten Gala
Jiten Gala
President Engineering and Product, Kapittx

Our clients, especially in the Middle East financial sector, demand absolute accountability. Cloudanix JIT Cloud has been a competitive differentiator for us, allowing us to provide secure, governed access to customer accounts that meet their strictest audit and compliance requirements.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

Cloudanix is always on my team's lips because of its exceptional support. Be it a small or big query, Cloudanix has gone above and beyond to resolve them. This one's a keeper for us.

Sujit Karpe
Sujit Karpe
CTO, iMocha

For a long-lasting partnership, great support goes a long way. Cloudanix has delivered exceptional support whenever required. Their edge is their team is always ready to go beyond to solve any issues that we have. This speaks volumes about the culture at Cloudanix.

Akash Maheshwari
Akash Maheshwari
Co-founder, MoveInSync

Beyond the technology, Cloudanix feels like an extension of our own team. Their willingness to stand up a dedicated Middle East tenant for us and provide exceptional support at a sensible price makes them a long-term partner for Hugosave.

Surya Tamada
Surya Tamada
CTO, HugoHub

The real-time notifications that Cloudanix provides are a real lifesaver. Their adaptive notifications ensure that my team stays productive and doesn't get interrupted all the time.

Digvijay Singh
Staff Security Engineer, Meesho

The whole point in technological evolution is to help improve the world we live in. We must protect that and to do so requires an effective and efficient security strategy. The Cloudanix team helped make our public cloud security posture management strategy a reality. The symbiotic relationship we have allows for a continuous feedback loop which is how business should operate.

Larry Wheat
Larry Wheat
Staff Solutions Engineer, Eversana

Ready to see your graph?

Connect a cloud account in under 30 minutes. See every finding rooted in identity, asset, and blast radius — with a fix path attached.

Book a Demo