copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2024-03-15 |
satellite, hybrid, multicloud, alibaba, alibaba hosts, alibaba cloud |
satellite |
{{site.data.keyword.attribute-definition-list}}
{: #alibaba}
You can add hosts from Alibaba Cloud to {{site.data.keyword.satelliteshort}}. {: shortdesc}
All hosts that you want to add must meet the host requirements, such as the RHEL 8 packages and networking setup. For more information, see Host requirements. {: note}
Before you begin, create a {{site.data.keyword.satelliteshort}} location. Note that your location displays Action required
until you add hosts and create the control plane.
To add hosts from Alibaba cloud, follow these general steps.
-
Set up your virtual machines in Alibaba Cloud.
- Log in to your Alibaba account{: external}.
- From the VPC console{: external}, create or select an existing Virtual Private Cloud. When you create a VPC, you must create a vSwitch in each zone where you want to add hosts.
- Select the Resources tab.
- Verify that you have a Route table and at least one vSwitch.
- Create a security group by clicking add from the Security groups section. For more information about the values to set, see Security group settings.
- From the Elastic Computing Service (ECS) console, create a minimum of 3 instances that meet the {{site.data.keyword.satelliteshort}} host requirements.
- Install a supported Red Hat Enterprise Linux version.
-
Connect to your instances and install any required packages.
-
Upload and run the host attach script on each instances. After the host script completes, your hosts are available in the Hosts tab of your {{site.data.keyword.satelliteshort}} console{: external}. All hosts show a Status of
Ready
when a connection to the machine can be established. Note that the hosts show a Status ofUnassigned
as the hosts are not yet assigned.-
Upload the host script file to your Alibaba instance.
scp -i <PEM-FILE> <Path2HostScript> cloud-user@<PUBLIC_IP>:/tmp/attach.sh
{: pre}
-
Log in to your instance.
ssh -i <path-to-pemfile> cloud-user@<PUBLIC_IP>
{: pre}
-
Run the host script file. For example,
sudo nohup bash /tmp/attach.sh &
{: pre}
-
Review the status of the registration script.
journalctl -f -u ibm-host-attach
{: pre}
-
-
Assign your hosts to either the control plane or a worker pool.
{: #alibaba-reqs-secgroup}
As described in the host networking requirements, your Alibaba hosts must have access to connect to {{site.data.keyword.satellitelong_notm}}. If you use hosts in a virtual private cloud (VPC), you can create a security group similar to the following example. You can get the owner, group, user, and VPC IDs from your Alibaba provider resources. {: shortdesc}
Action | Priority | Protocol Type | Port Range | Authorization Object |
---|---|---|---|---|
Allow | 1 | Custom TCP | Destination 30000/32767 |
Source 0.0.0.0/0 |
Allow | 1 | Custom TCP | Destination 443/443 |
Source 0.0.0.0/0 |
{: caption="Example security group for Alibaba" caption-side="bottom"} |
In addition to these inbound rules, you must allow all outbound connectivity to all ports and IP addresses. {: note}
For more information, see Security groups{: external} in the Alibaba documentation.
{: #alibaba-whats-next-host}
Now that you added hosts to your location, you can assign them to your location control plane or to your {{site.data.keyword.cloud_notm}} services. {: shortdesc}
- Assign hosts to the location control plane or to your {{site.data.keyword.cloud_notm}} services.
- Create a {{site.data.keyword.satelliteshort}}-enabled {{site.data.keyword.cloud_notm}} service, such as a {{site.data.keyword.redhat_openshift_notm}} cluster. You can even register existing {{site.data.keyword.redhat_openshift_notm}} clusters to your location to use as deployment targets.
- Manage your applications with {{site.data.keyword.satelliteshort}} Config.
- Create {{site.data.keyword.satelliteshort}} cluster storage templates.
- Learn more about the {{site.data.keyword.satelliteshort}} Link component and how you can use endpoints to manage the network traffic between your location and {{site.data.keyword.cloud_notm}}.
Need help? Check out Getting support where you can find information about cloud status, issues, and logging; contacting support; and setting your email notification preferences for {{site.data.keyword.cloud_notm}} platform-related items.