<html><body><p><font size="2">Hi All</font><br><br><font size="2">I need to find out if anyone has successfully been able to get our Openstack Swift implementation of the object protocol to support the AWS DNS-syle bucket naming convention. See here for an explanation </font><a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html"><font size="2">https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html</font></a><font size="2">.</font><br><br><font size="2">AWS DNS-style bucket naming includes the bucket in the DNS name (eg. mybucket1.ssobject.mycompany.com). </font><font size="2">Openstack Swift supports PATH style bucket naming (eg. </font><a href="https://swift-cluster.example.com/v1/"><font size="2">https://swift-cluster.example.com/v1/</font></a><font size="2" color="#4F4F4F">my_account/</font><b><font size="2" color="#4F4F4F">container</font></b><font size="2" color="#4F4F4F">/object</font><font size="2">).</font><br><br><font size="2">From what I can tell, I need to enable the domain_remap function in the proxy-server.conf file and also statically resolve the DNS name to a specific bucket by inserting the correct AUTH account.</font><br><br><font size="2">See here for the domain_remap middleware explanation..</font><br><br><a href="https://docs.openstack.org/swift/latest/middleware.html"><font size="2">https://docs.openstack.org/swift/latest/middleware.html</font></a><br><br><font size="2">And here for additional DNS work that needs to be done..</font><br><br><a href="https://docs.ovh.com/gb/en/public-cloud/place-an-object-storage-container-behind-domain-name/"><font size="2">https://docs.ovh.com/gb/en/public-cloud/place-an-object-storage-container-behind-domain-name/</font></a><br><br><font size="2">Obviously a wildcard DNS server is required for this which is easy enough to implement. However, the steps for Openstack Swift to support this are not very clear. I'm hoping someone else went through the pain of figuring this out already :)</font><br><br><br><font size="2">Any help with this would be greatly appreciated!</font><br><br><br><font size="2" face="Arial">Kind Regards</font><br><b><font size="2" face="Arial"><br>Nishaan Docrat <br>Client Technical Specialist - Storage Systems</font></b><br><font size="2" face="Arial">IBM Systems Hardware<br></font><br><font size="2" face="Arial">Work: +27 (0)11 302 5001<br>Mobile: +27 (0)81 040 3793<br>Email: nishaan@za.ibm.com</font><p><a href="http://www.ibm.com/storage"><img src="cid:1__=CDBB0F62DFBAB7F58f9e8a93df938690918cCDB@" width="420" height="105" border="0"></a><BR>
</body></html>