Hi,
As a step, in my bitbucket pipelines, I need to send an email containing reports generated during pipeline execution. For this I need to connect to my org's SMTP server.
Can you please share which IPs I need to whitelist on my firewall., to allow Bitbucket to successfully connect to my email server.
Thanks,
Hi Shoaib,
I assume that this Pipelines step runs on Atlassian's infrastructure?
If so, the machines that execute all Pipelines steps on Atlassian Cloud Infrastructure are hosted on Amazon Web Services. An exhaustive list of IP addresses that the traffic may come from on AWS can be found by using the following endpoint:
filtering to records where the service equals EC2 or S3, and using the us-east-1 and us-west-2 regions.
Important Note: The IP addresses provided via this endpoint are managed by Amazon and are subject to change. We recommend regularly checking this endpoint and updating your firewall's IP list accordingly. Additionally, consider exploring automation options to streamline updating IPs in response to changes.
If you require this step to run from a more limited set of IP addresses, you can use the atlassian-ip-ranges runtime configuration in your yml file, available only on 4x/8x steps and only with the Standard or Premium plan. This configuration is documented here:
You will then need to whitelist only a more limited set of IP ranges (instead of the previous list), listed here:
Please Note: Using larger step sizes may have billing implications. 4x steps use four times the number of build minutes of 1x steps and 8x steps use eight times the build minutes of 1x steps.
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.