PreviewThis feature is in Preview.
Allowlist Astro IDE egress IP addresses
If your Git provider is private, or if it limits access by IP address, allowlist the Astro IDE egress IP addresses in your Git provider. Without this, the Astro IDE can’t clone your repository or push commits to it. Outbound Git traffic from the Astro IDE comes from a set of persistent egress IP addresses. Astronomer publishes these addresses as the DNS A records ofegress.astronomer.io. To get the current list, resolve the domain:
These egress IP addresses apply only to Astro IDE Git traffic. They’re separate from the external IP addresses of your Astro clusters and Deployments, which control how a Deployment connects to external services. See Find Deployment external IP addresses. An allowlist entry for one set doesn’t cover the other.
Import a Git project
To import a GitHub project using the Astro GitHub integration, see the GitHub import guide.
Prerequisites
- Workspace Author permissions.
- A remote Git repository containing an Astro project.
- Access permissions to the repository.
- Network access from the Astro IDE to your Git provider. If your Git provider limits access by IP address, see Allowlist Astro IDE egress IP addresses.
- Project size under 200 MB and individual file sizes under 1 MB. See Project requirements.
Import your project
1
Open the Astro IDE
From the Astro UI, select Astro IDE.
2
Open the Projects tab
Click Projects to open the Projects tab.
3
Add a project
Click + Add Project, then select Import Git Project from the dropdown menu.
4
Configure manual Git provider connection
- Select your Git provider: GitHub, GitLab, Bitbucket, Azure Repos, or Generic.
If you use self-hosted GitHub Enterprise Server, select Generic instead of GitHub. The GitHub option is only for GitHub.com (cloud-hosted) repositories.
-
Fill in the following fields:
- Account: The organization or user as shown in the provider URL.
- Repository/Project: The repository or project name.
- Astro Project Path: The subdirectory where your Astro project is located, if not at repository root.
- Branch: The branch to use. Defaults to the provider’s default branch.
-
Select authentication type. Available authentication types may differ slightly for each Git provider:
- Basic
- Personal access token
- Deploy key or Personal SSH key
- None (public repository): Select if you are connecting to a public repository that doesn’t require authentication. You can’t push changes to the remote repository without authentication.
5
Complete import
After connecting, the Astro IDE clones your code and prepares the environment.
Your imported project appears in the Astro IDE.
Start a new session with your imported project
After importing your project, you can start a new session with it.Prerequisites
- An imported project in the Astro IDE. See Import a Git project to import one if you haven’t already.
Open your project in a new session
1
Reopen the Astro IDE
From the Astro UI main menu, select Astro IDE.
2
Reopen the Projects tab
Click Projects to open the Projects tab.
3
Select your imported project
Click New Session next to the project you imported to start a new session with that project.