<div dir="ltr">Hi,<div><br></div><div>From the description, I'm assuming the instances will be boot from volume. In that case, you will need to create a volume type for each backend and you can use 'extra_specs' properties in the volume type to assign a volume type to a particular AZ. In this case, if you're already creating one backend per AZ then a volume type linked to that backend should be good.</div><div>Now you will need to create a bootable volume and launch an instance with it. Again, the instance should be launched in the AZ as used in the volume type to support your use case.</div><div>Also if you want to restrict volumes of a particular AZ to be attached to the instance of the same AZ, you can use the config option <b>cross_az_attach</b>[1] which will allow/disallow cross AZ attachments.</div><div>Hope that helps.</div><div><br></div><div>[1] <a href="https://docs.openstack.org/nova/latest/configuration/config.html#cinder.cross_az_attach">https://docs.openstack.org/nova/latest/configuration/config.html#cinder.cross_az_attach</a></div><div><br></div><div>Thanks</div><div>Rajat Dhasmana</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 4, 2023 at 7:31 AM Nguyễn Hữu Khôi <<a href="mailto:nguyenhuukhoinw@gmail.com">nguyenhuukhoinw@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello guys.<div>I took time to search for this question but I can't find the answer.</div><div><br></div><div>I have an Openstack private cloud and I use an AZ to a department. </div><div>For example,</div><div>AZ-IT for IT department</div><div>AZ-Sale for Sale department...</div><div><br></div><div>I will prepare 2 storage backends for each AZ.</div><div><br></div><div>My goal is that when users launch an instance by choosing AZ then It will use only the backend for this AZ.</div><div><br></div><div>Would Openstack support my goal?</div><div><br></div><div>Thanks for reading my email.</div><div><br clear="all"><div><div dir="ltr"><div dir="ltr">Nguyen Huu Khoi<br></div></div></div></div></div>
</blockquote></div>