{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["tabs","tab"]},"type":"markdown"},"seo":{"title":"Configuring Custom Script IP Addresses","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"configuring-custom-script-ip-addresses","__idx":0},"children":["Configuring Custom Script IP Addresses"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you are using a custom script in your Treasure Workflow, you might need"," ","to make sure that the IP addresses that Treasure Data needs are"," ","whitelisted by your firewall. You can use the following IP addresses to selectively open your"," ","firewalls (or public cloud equivalent, such as security groups in AWS)"," ","to allow the custom scripts used in your workflows to access external"," ","systems."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"US","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"3.228.35.123\n34.237.48.37\n54.82.188.250\n"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"Tokyo","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"13.113.15.50\n13.113.238.22\n3.114.18.100\n"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"EU01","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"3.123.157.139\n3.123.165.104\n35.156.7.239\n"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"AP02","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"13.124.198.125\n13.124.232.4\n15.164.37.234\n"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"s3-bucket-policy-configuration-for-custom-scripts","__idx":1},"children":["S3 Bucket Policy Configuration for Custom Scripts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When your S3 bucket is in the same region as your Treasure Data endpoint, you must set a VPC ID to allow TD's access to the bucket and still restrict access."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Region"},"children":["Region"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"VPC Value"},"children":["VPC Value"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TOKYO"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["vpc-02690016f16b2594a"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["US"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["vpc-08587b74afed87821"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EU01"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["vpc-0e10340fd5339a2f8"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AP02"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["vpc-0fe32f7e147f124be"]}]}]}]}]}]},"headings":[{"value":"Configuring Custom Script IP Addresses","id":"configuring-custom-script-ip-addresses","depth":1},{"value":"S3 Bucket Policy Configuration for Custom Scripts","id":"s3-bucket-policy-configuration-for-custom-scripts","depth":3}],"frontmatter":{"seo":{"title":"Configuring Custom Script IP Addresses"}},"lastModified":"2026-06-01T09:09:59.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/endpoints/customscript-ipaddresses","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}