Currently there is no automated way to change a server from the Basic tier to the General Purpose or Memory Optimized tiers. Please see, upvote below feedback and also the comment in it
For performance, see if below documentation helps
----------
If the response helped, do "Accept Answer" and upvote it -- Vaibhav