Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Replace Cloudflare Edge Security for Atlassian Cloud

· 6 min read · Home Security

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your Atlassian Cloud site (Jira, Confluence, etc.) currently sits behind Cloudflare for edge security—like WAF rules, bot protection, or IP filtering—you may be looking to remove it. This guide walks you through the process of decommissioning Cloudflare and shifting to Atlassian's native security features. You'll learn what to configure before you remove Cloudflare, how to update DNS, and how to avoid common pitfalls like losing access or leaving your site exposed.

What You'll Need

  • Administrator access to your Atlassian Cloud organization (Organization Admin or Site Admin).
  • Access to your domain's DNS provider (where your atlassian.net or custom domain records are managed).
  • Access to your Cloudflare account (to delete or pause the zone).
  • A list of any custom rules, IP allowlists, or rate-limiting rules you currently have in Cloudflare, so you can replicate them in Atlassian.
  • Optional: A maintenance window if you expect brief downtime during DNS propagation.

Step-by-Step

  1. Audit your current Cloudflare configuration. Log in to Cloudflare and note every security feature you rely on: WAF custom rules, IP access rules, bot fight mode, rate limiting, and any Page Rules that affect security. Export or screenshot these for reference.
  2. Identify what Atlassian Cloud already provides. Atlassian Cloud includes built-in DDoS protection, TLS encryption, and a managed WAF. For most standard setups, you don't need an external edge proxy. Review Atlassian's official security documentation to confirm what's covered.
  3. Replicate IP allowlisting in Atlassian. If you used Cloudflare to restrict access by IP (e.g., only office IPs), go to Admin > Security > IP allowlist in your Atlassian admin console. Add the same IP ranges you had in Cloudflare. Test the allowlist with a small group first.
  4. Set up SAML or SSO if you haven't already. If Cloudflare was your only layer of authentication, replace it with Atlassian's SAML single sign-on. Go to Admin > Security > SAML and configure your identity provider (Okta, Azure AD, etc.). This gives you stronger control than edge-level auth.
  5. Configure two-step verification. In Admin > Security > Two-step verification, enforce it for all users. This is a critical replacement for any bot or login protection Cloudflare provided.
  6. Adjust any custom domain settings. If you use a custom domain (e.g., jira.yourcompany.com) that points to Cloudflare, you'll need to update the DNS record. In your DNS provider, change the CNAME or A record to point directly to Atlassian's provided endpoint (usually your-site.atlassian.net). Atlassian provides the exact target in Admin > Sites > Site details.
  7. Update DNS TTLs before the switch. Lower the TTL on your DNS records to 300 seconds (or the minimum) at least 24 hours before you remove Cloudflare. This speeds up propagation when you make the change.
  8. Remove Cloudflare from your DNS. In your DNS provider, delete the Cloudflare nameservers or the proxied records. Replace them with the direct Atlassian records. Do not delete the zone until after you've verified everything works.
  9. Test access. After DNS propagates (usually a few hours), test your site from a normal network. Verify that login works, pages load, and any IP allowlist is enforced. Use a browser in incognito mode to simulate a new session.
  10. Monitor for issues. Check Atlassian's Admin > Security > Audit log for any failed login attempts or access anomalies. Also watch your site's health in Admin > System for any errors.
  11. Decommission Cloudflare. Once you're confident everything is stable, delete the Cloudflare zone or cancel your subscription. Keep the configuration notes for a few weeks in case you need to roll back.

Common Mistakes

  • Not replicating IP rules before removing Cloudflare. If you had IP restrictions, users outside those ranges will be locked out immediately after the switch.
  • Forgetting to update DNS TTL. Leaving TTL at 3600 or higher means DNS changes can take up to an hour or more, causing confusion and downtime.
  • Deleting Cloudflare before testing. If something goes wrong, you want to be able to quickly revert. Keep Cloudflare active until you're sure.
  • Ignoring Atlassian's built-in WAF. Atlassian Cloud already has a managed WAF, but some admins assume they need to add extra protection. Over-configuring can block legitimate traffic.
  • Skipping user communication. If you enforce new security measures like 2FA, users need to know in advance. Otherwise, you'll get a flood of support tickets.

Tips

  • Use Atlassian's security checklist. In the admin console, there's a security review page that highlights missing configurations. Run it before and after the switch.
  • Gradually roll out IP allowlists. Start with a test group of users, then expand. This avoids locking out the whole company.
  • Keep a rollback plan. Have the Cloudflare settings saved and know how to re-enable the proxy quickly if something breaks.
  • Document your new security posture. Write down what Atlassian features you're using (2FA, SAML, IP allowlist) so future admins understand the setup.
  • Consider a phased DNS migration. If you have multiple subdomains, move one first (e.g., status.yourcompany.com) to test the process.

Troubleshooting

Issue: Users can't access the site after DNS change.
Check if DNS has propagated using a tool like dig or an online DNS checker. If it's still pointing to Cloudflare IPs, wait longer. If it's pointing to Atlassian but access fails, check your IP allowlist in Atlassian—you might have left a rule that excludes your current IP.

Issue: Login fails or returns a 403 error.
This often means Atlassian's WAF is blocking the request. Check the audit log for blocked requests. If you see your own IP blocked, adjust the WAF settings or add an exception. Also ensure that your IP allowlist includes the correct ranges.

Issue: Custom domain shows SSL errors.
If you were using Cloudflare's SSL certificate, you need to switch to Atlassian's certificate. In Atlassian admin, go to Site details and verify the SSL setting is set to "Atlassian-managed". You may need to re-verify domain ownership.

Issue: SAML SSO stops working.
If you configured SAML after removing Cloudflare, ensure the ACS URL and entity ID in your identity provider match what Atlassian shows. Also check that the certificate is valid.

Issue: Performance is slower after removing Cloudflare.
Atlassian Cloud is optimized for direct access, but if you had Cloudflare's CDN caching static assets, you might notice a slight difference. Clear your browser cache and test again. If it persists, check if you have any heavy custom scripts that could be optimized.

Frequently Asked Questions

Q: Can I keep Cloudflare for DNS only and remove its security features?
Yes, you can set Cloudflare to "DNS only" (gray cloud) for your Atlassian records. This keeps DNS management with Cloudflare but bypasses its proxy and security features. However, if your goal is to fully replace it, you'll eventually want to move DNS elsewhere.

Q: Does Atlassian Cloud have a built-in WAF?
Yes, Atlassian Cloud includes a managed WAF that protects against common web attacks like SQL injection and cross-site scripting. You don't need to configure it manually, but you can review its settings in the admin console.

Q: Will I lose any security by removing Cloudflare?
Not if you properly configure Atlassian's native features. Atlassian provides DDoS protection, TLS, and a WAF. The main loss is custom rate limiting and bot management, which you can partially replicate with Atlassian's rate limiting (if available) or by using a different solution.

Q: How long does DNS propagation take?
Typically 1-48 hours, but with low TTL set beforehand, it can be as short as 15 minutes. Plan for a few hours of potential inconsistency.

Q: Can I use both Cloudflare and Atlassian security together?
Yes, you can keep Cloudflare in front of Atlassian for extra features like bot management or custom caching. However, this adds complexity and can cause issues with IP allowlisting because Atlassian will see Cloudflare's IPs. If you do this, you'll need to allowlist Cloudflare's IP ranges.

Q: What happens to my Cloudflare firewall rules?
They become inactive once you remove the proxy. You should manually replicate any necessary rules in Atlassian's security settings. Rules that are purely edge-based (like country blocking) may not have a direct equivalent in Atlassian, so you'll need to decide if they're still needed.