Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What IPs should I whitelist on my organization firewall to allow it to connect to my SMTP server.

Shoaib Khan October 28, 2024

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, 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 29, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events